

MCQOPTIONS
Saved Bookmarks
1. |
What is the space complexity of the following dynamic programming implementation of the balanced partition problem? |
A. | O(sum) |
B. | O(n) |
C. | O(sum * n) |
D. | O(sum + n)View Answer |
Answer» D. O(sum + n)View Answer | |