Oris
Today
Universe
Explore
Studio
Authors
Account
Lesson 1 of 7
A function sums an array using a single accumulator variable and no other allocation. What is its auxiliary space complexity?
O(1)
O(n)
O(n^2)
O(log n)
Check
Today
Universe
Explore
Profile