Univalued Binary Tree
An Easy coding interview problem in the Trees pattern.
Likely pattern
Recursive DFS and level-order BFS over hierarchical data.
Recognition cue: A binary tree or BST: depth, paths, ancestors, or level-by-level processing.
- Learn first
- Do not confuse it with
Topics
- Tree
- Depth-First Search
- Breadth-First Search
- Binary Tree
Practise Trees next
- 1Easy
- 2Easy
- 3Easy
- 4Easy
- 5Easy
- 6Easy
- 7Easy
- 8Easy