Given a string representation of a binary tree (e.g., level-order with nulls), reconstruct the tree and find the maximum number of nodes on any path from the root to a leaf.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.