Amazon logoAmazon
Coding·30 minMembers

Org-Chart Salary Aggregation

Members only

Final-round coding (MLE/AS loop). Part 1: from employee–manager–salary records, return the manager whose direct reports have the highest average salary; a hashmap grouping by manager suffices. Part 2:...

MLE
hashmap
tree
tree-traversal
medium
Frequency
Single report
Last asked
2026-06-27
Stage
onsite-coding · final-round

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...