Skip to content
Veltoryx Technologies
ProProblem 144● Mediumleetcode ↗3 min readUpdated 30 October 2026

Partition Equal Subset Sum

Determine if an array can be partitioned into two equal-sum subsets using 0/1 knapsack backwards iteration.

01The problem

Given an integer array nums, return true if you can partition the array into two subsets such that the sum of the elements in both subsets is equal or false otherwise.

Loading the rest of the lesson…