- 2

1

write a java script function to get all possible subset with a fixed length ( for example 2 ) combination in an array. sample array :( 1 , 2 , 3) and subset length is 2 expected out put :((2,1), (3,1), (3,2), (3,2,1))

17th Dec 2016, 6:41 PM
Nashwan Aziz
Nashwan Aziz - avatar
1 Respuesta
0
Please, try to write your own code and if you have problems, please, write again
2nd Dec 2017, 7:33 AM
Daniel
Daniel - avatar