InterviewDB Question

Company Hierarchy Tree - OOD Coding Interview

Question Details

Problem Design a CompanyHierarchy class representing an org chart. Each employee has an emp_id, name, salary, and at most one manager. Example: Follow-ups What is the time complexity of total_salary_under without caching? How would you cache it? How…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Coding Onsite