How to solve this interview Question asked in Amazon interview SDE1

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2025-03-23Added By Anonymous
Source: Link

Company: Amazon
Role: SDE1
Interview Stage: unknown
Location: unknown
Year: unknown

Original Post Content:

we are given a binary tree with all unique element, a target element x and distance d. Now we want to find all elements that are at distance d from the target element x.

Comments