CodingReported in a candidate post, Sep 2022
Nearest node value to a target in a tree
Filed under Swiggy
The question
Given a target, find the nearest node value present in the tree.
No write-up yet. Related questions below have one.
Related Swiggy questions
Collected from public candidate posts and coding forums. Updated Nov 2026.