Calling for after choosing the current index value
v . push ( arr [ n - 1 ] ) ; let y = prletAllSubsetsRec ( arr , n , v , sum - arr [ n - 1 ] ) ; v . pop ( v . length - 1 ) ; return Math . min ( x , y ) ; }