Skip to content
Avio Lines
← Trees lineD14Stop 50 of 64

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

MediumLeetCode 1530 · General Recursion on Trees · Google, TikTok +1 · 31:30Number of Good Leaf Nodes Pairs · Simple DFS · 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 2 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
31:30