Cyclic Sort Stories
8 stories from the epics
Cyclic Sort
Mahabharata — The Divine Order — Each Warrior to Their Rightful Position · Easy
Find the Missing Number
Mahabharata — The Absent Warrior — Which Soldier from 0 to n Failed to Report · Easy
Find All Missing Numbers
Mahabharata — The Battle Roll — All Absent Warriors from 1 to n · Easy
Find the Duplicate Number
Mahabharata — The Impostor — The Single Warrior Who Appears at Two Positions · Easy
Find All Duplicate Numbers
Mahabharata — The Dual Impostors — All Warriors Who Claimed Two Positions · Easy
Find the Corrupt Pair
Mahabharata — The Twin Error — One Warrior Doubled, One Displaced · Easy
Find the Smallest Missing Positive Number
Mahabharata — The First Gap — The Lowest Rank Absent from the Pandava Ranks · Medium
Find the First K Missing Positive Numbers
Mahabharata — The K Absent Warriors — The First K Ranks Left Unfilled · Hard