Nextdoor logoNextdoor
CodingMembers

Implement findViewById (Android View Tree)

Members only

A mobile-flavored phone-screen coding question about searching a UI view tree for a view by its identifier. The code itself is short, so the weight is on explaining how different traversal strategies behave on realistic layouts and where each one is risky.

SWE
medium
tree
bfs
dfs
tree-traversal
android
Frequency
Single report
Last asked
—
Stage
phone-screen

Members get

  • Full problem statement
  • 3 progressive hints
  • Step-by-step approach
  • Full solution with code
  • 6 talking points
  • 5 follow-up questions with answer directions
  • Preparation drills

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...