Implementing Fisher-Yates shuffling algorithm

3
  • 13 favourites

Index

Stats

7,372 visits, 16,328 views

Tools

Translations

This tutorial hasn't been translated.

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Now exchange time

. Exchange is an event consisting of 3 parts

temporary = a[k]

a[k] = a

a = temporary

Add another "System - set value" action.

For the second part, to changing the value of array, add "Array - set at X" action.

And for the third and the last part of the exchange add another "Array - set at X" action

  • 2 Comments

  • Order by
Want to leave a comment? Login or Register an account!