Implementing Fisher-Yates shuffling algorithm

1
  • 11 favourites

Index

Stats

4,797 visits, 11,328 views

Translations

This tutorial hasn't been translated.

Tools

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

  • 0 Comments

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