← Flipkart questions
CodingReported in a candidate post, Jul 2025

Top view and right view of a tree; in-place mirror tree

Filed under Flipkart

For a binary tree, (1) print its top view: the first node visible at each horizontal distance when seen from above; (2) print its right view: the rightmost node at each level; (3) convert the tree…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Flipkart questions

Collected from public candidate posts and coding forums. Updated Nov 2026.