โ† Flipkart questions

Design and implement an in-memory employee directory

Filed under Flipkart

The question

Implement an organization directory where an employee has an ID, name, post, and manager. Support prefix searching by employee name and retrieving all direct and indirect subordinates for any given employee. Use purely in-memory storage and make the design easily extendable to support new attributes.

No write-up yet. Related questions below have one.

Related Flipkart questions

Collected from public candidate posts and coding forums. Updated Nov 2026.