What is the Big O time complexity of an algorithm that iterates through an array, comparing each element to every other element in the array?
O(n^2)
O(n log n)
O(n)

Data Structures and Algorithms Exercises are loading ...