Skip to content
Avio Lines
← Trees lineD14Stop 49 of 64

Number of Good Leaf Nodes Pairs (LeetCode 1530) – Part 1

MediumLeetCode 1530 · General Recursion on Trees · Google, TikTok +1 · 28:55Number of Good Leaf Nodes Pairs · Using Graph And BFS · Dry Run · Leetcode 1530
MIK's code LeetCode ↗ YouTube ↗

My notes

Sign in to keep private notes on every station, with video timestamps.

Try it before watching

Pause here and write your approach in two lines. Compare it with MIK's when the video ends.

Sign in to write your approach →

About this video

Video solution (part 1 of 2) for LeetCode 1530 Number of Good Leaf Nodes Pairs by codestorywithMIK: Trees, Medium. Topics: Tree, Depth-First Search, Binary Tree, DP on Trees. Watch the explanation, then check the code and solve it on LeetCode.

Difficulty
medium
Topics
Tree, Depth-First Search, Binary Tree, DP on Trees
Patterns
General Recursion on Trees
Chapter
Trees
Duration
28:55