Count Good Nodes in Binary Tree - LeetCode
Автор: Sean Chuah
Загружено: 2023-09-25
Просмотров: 42
I'm Sean from Malaysia 🇲🇾
42KL Cadet 👨🏻💻
Learning how to code so I can make my own game 🎮
Favourite phrase currently: Yes No? 🤔
Github: https://github.com/DoughnutsNCookies
This video is made with the goal of honing my proficiency in public speaking, presentation, and coding.
Feel free to provide any feedback through the comments 😁
LeetCode Problem #1448
LeetCode Problem Link: https://leetcode.com/problems/count-g...
Difficulty: Medium
Problem Description Summary:
Given a binary tree root, a node X in the tree is named good if in the path from root to X there are no nodes with a value greater than X. Return the number of good nodes in the binary tree.
#interview #cplusplus #leetcode
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: