DictionaryForumContacts

   English
Terms for subject Programming containing yates | all forms | exact matches only
EnglishRussian
Fisher-Yates shuffleтасование Фишера-Йетса (a commonly used algorithm to generate a random permutation of a finite sequence. The algorithm works by iterating over the list from the end to the beginning, and at each iteration, selecting a random element from the unshuffled part of the list and swapping it with the current element. This shuffling algorithm is useful in scenarios where you need to randomize the order of a list or array, such as shuffling a deck of cards, selecting random winners from a list of participants, or generating test data with randomized inputs. The Fisher-Yates shuffle is known to have a uniform distribution and is considered an efficient and unbiased way to shuffle a sequence. Alex_Odeychuk)