← Walmart questions

Print Right View of Binary Tree

Filed under Walmart · Also reported at Josh Technology

Given a binary tree, return the values of the nodes visible when the tree is viewed from the right side, ordered from top to bottom.

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 Walmart questions

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