Cyclic placement [mp]
Micro pattern¶
Description¶
Swap bounded values into their natural indices until every reachable position is fixed.
Problems¶
- 41. First Missing Positive (Top Hard)
Swap bounded values into their natural indices until every reachable position is fixed.