LeetCode Question · Feb 2022 · Los Angeles

Amazon | OA | find the least common manager for two employees

298 views 1 reply

Question Details

Given a company hierarchy, find the least common manager for two employees. There is a company which has a CEO and a hierarchy of employees. All employees have a unique ID,...

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Strings