Knuth Shuffle made simple in 5 mins

preview_player
Показать описание
Knuth Shuffle, aka Fisher–Yates shuffle or simply list shuffle is a way to randomly order things in an array or list. In this video we explain how it works and implement it.

Please support me through my Udemy courses:
Pass your coding interview in,

Multithreading in,

Learn Dynamic Programming in,
Рекомендации по теме
Комментарии
Автор

You taught me Knuth Shuffle within five minutes! I have been scratching my head since yesterday looking at the explanations on the web.

aabb
Автор

Thank you! Great presentation and delivery. Very easy to understand. Subscribed!

nanaamoako
Автор

You know the awesome way to teach complex topics. More videos please. 👍🏼

alokik
Автор

Finally a clear explanation. Thank you James!

saltysnot
Автор

Nicely explained. The complicated part is it’s name. 👍

toenytv
Автор

Is this Khan Academy in disguise??
On a serious note
I was kinda lost when I read just the algorithm online but this video just made everything so much clearer. Great job!

wubster
Автор

this is a great explanation! Thank you very much, .

desmondwilson
Автор

Could there be figures that do not change locations? For example, "A, B, C, D, E" could A ever be the first post-randomiztion?

mberle
Автор

There are multiple errors in this presentation. Downvoted.

davidjames