Number of Nodes in the Sub-Tree With the Same Label - DFS - Python

preview_player
Показать описание
Number of Nodes in the Sub-Tree With the Same Label
Leetcode 1519
Topics Covered: Graph, DFS, Trees, HashMap
Leetcode Medium
Python

CHAPTERS
00:00 Problem Description
00:34 Example
00:56 Brute-Force Intuition
02:19 DFS Intuition
04:22 Time & Space Complexity
04:44 Coding Solution

Equipment I use to make these videos:

#leetcode
#faang
#programming
#binarysearch
#heap
#bfs
#stack
#hashmap
#dfs
#binarysearchtree
#prims
#codinginterviews
#codinginterviewquestions
#codinginterview
#codeforces
#placement
Рекомендации по теме
Комментарии
Автор

thanks for uploading daily challenges. im a beginner and had no idea of counter , thank you for explaining

moulee
Автор

Wow thank you very much. I have started doing daily challenges. These videos of daily problems are useful as well in addition to the contest problems.

qwertyasdf
join shbcf.ru