1.

What is the space complexity of the above dynamic programming implementation of the balanced partition problem?

A. O(sum)
B. O(n)
C. O(sum * n)
D. O(sum + n)
Answer» B. O(n)


Discussion

No Comment Found

Related MCQs