ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
What is the space complexity of Kadane's algorithm?
Correct Answer: A — O(1)
Kadane's algorithm uses a constant space. So, the space complexity is O(1).