Traverse leaves formed into DLL and standard tree traversals
Filed under Myntra
The question
Given a binary tree where leaf nodes are linked to form a doubly linked list, identify and print all the leaf nodes. Also perform level order traversal, construct mirror image, and find ancestors of a node in a binary tree.
No write-up yet. Related questions below have one.
Related Myntra questions
Collected from public candidate posts and coding forums. Updated Nov 2026.