โ† Amazon questions
CodingReported in a candidate post, Jan 2015

Store deepest right leaf nodes in a list

Filed under Amazon

Given a binary tree, find all the deepest right leaf nodes and store them in a list, handling cases where multiple right leaves are at the deepest level.

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

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