Employee database structure and search system
Filed under Flipkart
The question
Create an employee structure with id, name, and manager, supporting functionalities to return employee details by id, list subordinates by name or id, and perform a prefix search on names.
No write-up yet. Related questions below have one.
Related Flipkart questions
Collected from public candidate posts and coding forums. Updated Nov 2026.