Problem: Get the height of a binary tree. Solution 1: Iterate Solution 2: Recursive
Tag Archives: binary-tree
Traverse Binary Tree: Depth First
Problem: Traverse a given binary tree, depth first. Solution 1: Iterate via a Stack
Traverse Binary Tree: Breadth First
Problem: Traverse a given binary tree, breadth first. Solution 1: Iterate via a Queue