Given an integer array nums, determine if you can partition it into two subsets such that the sum of the elements in both subsets is equal. Return true if such a partition is possible, otherwise return false.
Click Run to execute sample tests.