Available question text
Given a list of employees (id, importance, subordinate ids) and a target id, compute the total importance of that employee plus all direct and indirect subordinates by traversing the organizational hierarchy (e.g., DFS/BFS) using an id→employee lookup. Importance values may be negative and the list size is up to 2000.
Related questions
Continue with questions that share topics or the same question type.
- A question around around array and number and SQL about counting employee salary and showing them in descending order
Coding
- Build a Progressive Employee Tracker
Coding · Data Structure Design · Simulation & State Machines
- Employee Bonus
Coding
- Employee Free Time
Coding
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 690. Employee Importance
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source