AllTheTimeWorld.com

csharp stringsScramble Array Algorithm

Scramble Array Algorithm

Easy algorithm to scramble an array

Scramble Array Algorithm

Easy algorithm to scramble an array

You may have learned about sorting, to put words in alphabetical order, or numbers in numerical order.
In many games and other applications, you may need to be able to scramble a list.

In the next two projects we will create two word games that require that we scramble a list.

This video illustrates a simple algorithm to scramble an array.