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