| Learn | Algorithm - Cycle Sort - Cycle sort basic information |
|---|
| Cycle Sort Basic Information Cycle Sort (opens new window) is sorting algorithm which uses comparison sort (opens new window) that is theoretically optimal in terms of the total number of writes to original array, unlike any other in-place sorting algorithm. Cycle sort is unstable sorting algorithm. It is based on idea of permutation in which permutations are factored into cycles, which individually rotate and return a sorted output. Example of Cycle Sort: Auxiliary Space: |
Read Article
https://develop.horje.com/learn/1434/reference