Given an integer array nums and integer , return true if you can partition the array into non-empty subsets with equal sums.
Example: For [4,3,2,3,5,2,1] and , return true. Four subsets: .
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
Given an integer array nums and integer , return true if you can partition the array into non-empty subsets with equal sums.
Example: For [4,3,2,3,5,2,1] and , return true. Four subsets: .