What is the time complexity of an algorithm that iterates over an array of length n and performs a constant-time operation on each element?
O(n)
O(log n)
O(1)
O(n^2)

Advanced Data Structures Übungen werden geladen ...