What is the average time complexity of selection sort?
O(log n)
O(n^2)
O(n)
O(n log n)

Data Structures and Algorithms Exercises are loading ...