Sorting Algorithms Questions
The worst-case time complexity of pancake sort is O(n^2), where n represents the number of elements in the input array.