- 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))
1 Odpowiedź
0
Please, try to write your own code and if you have problems, please, write again