Size of each subset must be less than the number of elements
if ( K == 0 K > N ) { document . write ( " " + " " ) ; } else { document . write ( " " + " " ) ; PartitionSub ( arr , 0 , N , K , 0 , v ) ; } }