Employee Manager Dependency Sort
Filed under MindTickle
The question
Given employees and their managers where some lack managers, output a sorted array such that no employee comes before their manager.
No write-up yet. Related questions below have one.
Related MindTickle questions
Collected from public candidate posts and coding forums. Updated Nov 2026.