What is the sum of each of the balanced partitions for the array {5, 6, 7, 10, 3, 1}?
(a) 16
(b) 32
(c) 0
(d) 64
The question was asked in a national level competition.
My question is based upon Balanced Partition topic in section Dynamic Programming of Data Structures & Algorithms II