All Nodes Distance K in Binary Tree

Given a binary tree encoded in level order, a target node value, and a non-negative distance k, return all node values exactly k edges from the target. Node values are unique, movement may go through parents or children, and the returned values may appear in any order.

Examples
Input: [[3,5,1,6,2,0,8,null,null,7,4],5,2]
Output: [7,4,1]
Hints

All Nodes Distance K in Binary Tree

Given a binary tree encoded in level order, a target node value, and a non-negative distance `k`, return all node values exactly `k` edges from the target. Node values are unique, movement may go through parents or children, and the returned values may appear in any order.