LinkedIn | Phone Screen | 2 probs
Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2022-02-15Added By Anonymous
Source: Link
•https://leetcode.com/problems/subtree-of-another-tree/
•var of https://leetcode.com/problems/k-closest-points-to-origin/
•Given a center point, a list of other points, and a number k.
•Find the k closest points to the center point.
•Return a list of the points sorted by the distance from the center.