What is the big-O notation of an algorithm that takes a constant amount of time regardless of the input size?
O(log n)
O(n)
O(1)
O(n^2)

Data Structures and Algorithms Übungen werden geladen ...