Sorting Algorithms Questions Medium
The time complexity of the cycle sort algorithm is O(n^2), where n is the number of elements in the array to be sorted.