filmov
tv
Count of good nodes | Leetcode #1448

Показать описание
This video explains how to count good nodes in a given binary tree which is a very important recursion based tree problem for interview. It is from leetcode 1448. In this problem, a good node is a node which do not have any other node from root to current node path which is greater than the current node. All such nodes are good nodes and our goal in this problem is to return the count of good nodes.
I have first explained the idea of the problem using examples followed by the bruteforce approach to solve it. Later, I have also shown the optimization technique with intuition and code walkthrough at the end of the video.
CODE LINK is present below as usual. If you find any difficulty or have any query then do COMMENT below. PLEASE help our channel by SUBSCRIBING and LIKE our video if you found it helpful...CYA :)
======================================PLEASE DONATE=============================
==============================================================================
=======================================================================
USEFUL LINKS:
RELATED LINKS:
I have first explained the idea of the problem using examples followed by the bruteforce approach to solve it. Later, I have also shown the optimization technique with intuition and code walkthrough at the end of the video.
CODE LINK is present below as usual. If you find any difficulty or have any query then do COMMENT below. PLEASE help our channel by SUBSCRIBING and LIKE our video if you found it helpful...CYA :)
======================================PLEASE DONATE=============================
==============================================================================
=======================================================================
USEFUL LINKS:
RELATED LINKS:
Microsoft's Most Asked Question 2021 - Count Good Nodes in a Binary Tree - Leetcode 1448 - Pyth...
Count of good nodes | Leetcode #1448
Count Good Nodes in Binary Tree - Leetcode 1448 - Trees (Python)
Count good nodes problem (LeetCode #1448) - Inside code
COUNT GOOD NODES IN BINARY TREE | PYTHON | LEETCODE # 1448
Count Good Nodes in Binary Tree #leetcode #leetcode75
Count Good Nodes In Binary Tree - LeetCode 1448 - JavaScript
Solving the '1448. Count Good Nodes in Binary Tree' Problem in Java LeetCode 75 Study Plan
1448. Count Good Nodes in Binary Tree - Day 17/31 Leetcode August Challenge
1448. Leetcode Count Good Nodes in Binary Tree || Intuition + Explanation + Code
Leetcode - Count Good Nodes in Binary Tree (Python)
Count Good Nodes in Binary Tree LeetCode - Java
Leetcode Solution - 1448 Count Good Nodes in Binary Tree
Leetcode 1448 Count Good Nodes in Binary Tree | Coding Decoded SDE preparation Sheet
3249. Count the Number of Good Nodes (Leetcode Medium)
LeetCode 1448: Count Good Nodes in Binary Tree
Leetcode - 1448 Count Good Nodes in Binary Tree (Medium) in Java,Python
Count Good Nodes in Binary Tree | Leetcode 1448
Leetcode: Count Good Nodes in Binary Tree using C++
Microsoft Interview Question! | Count Good Nodes in Binary Tree - Leetcode 1448
Leetcode 1448: Count Good Nodes in Binary Tree
MICROSOFT Coding Interview Question - Count Good Nodes in Binary Tree | LeetCode (With Animations)
1448. Count Good Nodes in Binary Tree (Leetcode Medium)
3249 Count the Number of Good Nodes || How to 🤔 in Interview || Build Graph + DFS || Math
Комментарии