N-ary Tree Traversal
Filed under Myntra
The question
Find the count of leaf nodes in an n-ary tree, then modify to find the count of nodes at maximum depth.
No write-up yet. Related questions below have one.
Related Myntra questions
Collected from public candidate posts and coding forums. Updated Nov 2026.