Implementing Fisher-Yates shuffling algorithm

3

Index

Stats

8,186 visits, 17,658 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.

Published on 14 Feb, 2013. Last updated 19 Feb, 2019

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!