Community

Start a Thread


Notifications
Subscribe You’re not receiving notifications from this thread.

Implement Array Shuffle (Main Thread)

Here is the interview question prompt, presented for reference.

Shuffling an array is an operation that generates a random inline permutation of the elements of a given array. Can you implement a shuffle method, that will accept one parameter - the array to shuffle, and will shuffle its elements in a random order?

An example of how your method should work, would be to generate one of the possible 24 permutations for the array in our example.

![cover](https://storage.googleapis.com/algodailyrandomassets/curriculum/frontend/interview-questions/implement-array-shuffle.jpg)

You can see the full challenge with visuals at this link.

Challenges • Asked almost 3 years ago by Jake from AlgoDaily

Jake from AlgoDaily Commented on Jun 04, 2022:

This is the main discussion thread generated for Implement Array Shuffle (Main Thread).