Concept Flow - Partition Equal Subset Sum
Calculate total sum of array
Is total sum even?
No→Return False: cannot partition
Yes
Set target = total sum / 2
Use DP to check if subset sums to target
If subset found
→Return True
No
Return False
Check if array can be split into two subsets with equal sum by verifying if a subset sums to half the total.