DEV Community

Discussion on: Can you solve this interview problem?

Collapse
 
sarathm09 profile image
sarathm09

No, it shuffles the array elements. Basically he is shuffling the array again and again till he gets it right