

MCQOPTIONS
Saved Bookmarks
1. |
What is the space complexity of the ABOVE dynamic programming algorithm used to find the maximum sub-array sum? |
A. | O(n) |
B. | O(1) |
C. | O(n!) |
D. | O(n2) |
Answer» B. O(1) | |