Skip to content
Avio Lines
← Trees lineD14Stop 52 of 64

Cousins in Binary Tree II (LeetCode 2641)

MediumLeetCode 2641 · Traversals (DFS / BFS) · Google, Amazon · 35:35Cousins in Binary Tree II · 2 Detailed Approaches · Dry Run · Leetcode 2641
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 for LeetCode 2641 Cousins in Binary Tree II by codestorywithMIK: Trees, Medium. Topics: Hash Table, Tree, Depth-First Search, Breadth-First Search. Watch the explanation, then check the code and solve it on LeetCode.

Difficulty
medium
Topics
Hash Table, Tree, Depth-First Search, Breadth-First Search, Binary Tree
Patterns
Traversals (DFS / BFS), Tree as Graph, General Recursion on Trees
Asked at
GoogleAmazon
Chapter
Trees
Duration
35:35