A common error when implementing the Fisher-Yates shuffle is to pick the random numbers from the wrong range. | Общей ошибкой при реализации тасования Фишера-Йетса является выбор случайных чисел из неверного интервала. |
In fact, as described below, it is quite easy to accidentally implement Sattolo's algorithm when the ordinary Fisher-Yates shuffle is intended. | Фактически, как описано ниже, легко случайно реализовать алгоритм Саттоло при попытке создать алгоритм Фишера-Йетса. |