Examveda

Given an array, check if the array can be divided into two subsets such that the sum of elements of the two subsets is equal. This is the balanced partition problem. Which of the following methods can be used to solve the balanced partition problem?

A. Dynamic programming

B. Recursion

C. Brute force

D. Dynamic programming, Recursion, Brute force

Answer: Option D


Join The Discussion

Related Questions on Dynamic Programming in Data Structures