← Grab questions

All Nodes Distance K in Binary Tree

Filed under Grab · Also reported at Moonfrog Labs

The question

Find all nodes that are at a distance K from a given target node in a binary tree.

No write-up yet. Related questions below have one.

Related Grab questions

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