Employee Hierarchy Lowest Common Manager
Filed under Amazon
The question
Model a company's hierarchy using object-oriented principles where every employee reports to one manager, and implement a method to compute the lowest common manager for two given employees.
No write-up yet. Related questions below have one.
Related Amazon questions
Collected from public candidate posts and coding forums. Updated Nov 2026.