What is the space complexity of an algorithm that uses a fixed amount of extra memory regardless of the input size?
Instructor solution
The space complexity of an algorithm that uses a fixed amount of extra memory regardless of the input size is
Think you've got it?
Which of the following algorithms has a space complexity of
- A.
An algorithm that uses memory proportional to the square of the input size.
- B.
An algorithm that uses a fixed amount of extra memory regardless of the input size.
- C.
An algorithm that uses memory proportional to the input size.
- D.
An algorithm that uses memory proportional to the logarithm of the input size.
You may exit out of this review and return later without penalty.