Premium
Find a Node in a DOM Tree (DFS/BFS)
Challenge summary
Find a target node inside a DOM-like tree while respecting identity and traversal order.
What you'll practice
- Compare nodes by identity rather than by copied content.
- Traverse nested descendants in a deterministic order.
- Return a stable empty result when the target is absent.
What Premium unlocks
Premium unlocks the runnable workspace, behavioral checks, implementation walkthrough, and edge-case discussion.
Free related practice
Public interview reports: Blind (October 2021) · Meta frontend interview questions
Upgrade to FrontendAtlas Premium to unlock this challenge. Already upgraded? Sign in to continue.
Premium is $24 a month or $99 a year, less in many countries.