Find top view of a binary tree
Filed under Snapdeal
The question
Given a binary tree, write an algorithm to print the top view of the tree nodes visible from above.
No write-up yet. Related questions below have one.
Related Snapdeal questions
Collected from public candidate posts and coding forums. Updated Nov 2026.