Given an Array of unique integers of N size and a whole positive number M. M <= N. Return all possible unique selections of M items from the array.
Example: Array = [1, 2, 3, 4, 5], M = 4 -->
[
  '1, 2, 3, 4',
  '1, 2, 3, 5',
  '1, 2, 4, 5',
  '1, 3, 4, 5',
  '2, 3, 4, 5'
]
 
Test set 1
Result:
 
Test set 2
Result:
 
Test set 3
Result:
 
Test set 4
Result:
 
Test set 5
Result:
 
Test set 6
Result:
 
Test set 7
Result: