← Questions

Binary tree right side view

0
MetaGoogleAmazonCodingLast asked Nov 2026

A coding interview question asked in Amazon's technical phone screen and at Meta and Google, last asked Nov 2026. It tests trees, bfs and dfs.

Return the values you would see looking at a binary tree from its right side: the last node of each level, from top to bottom.

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • Amazon · Technical phone screen · Last asked Nov 202660 min · Live coding in a shared editor that does not run code, plus Leadership Principles questions · No AI
  • Meta · AI-enabled coding · Last asked Apr 202660 min · Several progressive tasks on a starter codebase in CoderPad with an AI assistant panel; usually two rounds · The first task usually without AI, later tasks with it
  • Google · First round: coding · Last asked Nov 202545 min · Coding in a Google Doc, no syntax highlighting or autocomplete · No AI

What it tests

trees · bfs · dfs

Your code and the AI tutor open when you unlock this question.