First Missing Positive — Cyclic Sort & Index Tricks
From a messy list of ticket numbers with zeros, negatives and repeats, find the lowest positive ticket number that never appears.
Cyclic Sort & Index Tricks · Hard
From a messy list of ticket numbers with zeros, negatives and repeats, find the lowest positive ticket number that never appears.
Cyclic Sort & Index Tricks · Hard