CodingReported in a candidate post, Sep 2025
Minimum swaps to sort a permutation of 1..n
Filed under Zomato
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.
Related Zomato questions
- Linked list operation complexities and reverse in groups of size k
- Count sorted arrays obtainable by removing one element
- Find the element that appears once when all others appear twice
- Number-of-islands style problem with alternative approaches
- Shuffle a playlist so each song plays once, plus previous-song
Collected from public candidate posts and coding forums. Updated Nov 2026.