← Amazon questions
CodingReported in a candidate post, May 2022

Binary Tree Views and Semaphores

Filed under Amazon

Given the root of a binary tree, return the bottom view of the tree. A node is part of the bottom view if it is the bottom-most node at its horizontal distance from the root. If multiple nodes share…

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.