Тёмный
No video :(

Knuth Shuffle made simple in 5 mins 

James Cutajar
Подписаться 12 тыс.
Просмотров 9 тыс.
50% 1

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,
Java : www.udemy.com/course/beat-the...
Python: www.udemy.com/course/beat-the...
Ruby: www.udemy.com/course/beat-the...
JavaScript: www.udemy.com/course/beat-the...
Multithreading in,
Go Lang: www.udemy.com/course/multithr...
Python: www.udemy.com/course/parallel...
Java: www.udemy.com/course/master-p...
Learn Dynamic Programming in,
Java: www.udemy.com/course/dynamic-...
Python: www.udemy.com/course/dynamic-...
Ruby: www.udemy.com/course/dynamic-...

Опубликовано:

 

14 ноя 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 14   
@nanaamoako4175
@nanaamoako4175 Месяц назад
Thank you! Great presentation and delivery. Very easy to understand. Subscribed!
@alokik100
@alokik100 2 года назад
You know the awesome way to teach complex topics. More videos please. 👍🏼
@aabb12346
@aabb12346 Год назад
You taught me Knuth Shuffle within five minutes! I have been scratching my head since yesterday looking at the explanations on the web.
@saltysnot
@saltysnot 11 месяцев назад
Finally a clear explanation. Thank you James!
@micalevisk
@micalevisk 2 года назад
well explained as always :) thank you
@toenytv7946
@toenytv7946 2 года назад
Nicely explained. The complicated part is it’s name. 👍
@desmondwilson3416
@desmondwilson3416 10 месяцев назад
this is a great explanation! Thank you very much,.
@wubster666
@wubster666 2 года назад
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!
@ahmedelsabagh6990
@ahmedelsabagh6990 2 года назад
Great video!
@felipestrm
@felipestrm 2 года назад
great work
@tracychacon1210
@tracychacon1210 Год назад
Great explanation in 5 minutes.
@mberle1
@mberle1 6 месяцев назад
Could there be figures that do not change locations? For example, "A,B,C,D,E" could A ever be the first post-randomiztion?
@fullmuppet
@fullmuppet 6 месяцев назад
Yes. But the same is true with a "real life" shuffle. If you shuffle a deck of cards, any cards could be in the same position after the shuffle. Indeed, to be a true random shuffle, this needs to be the case. If items were guaranteed *not* to be in the same position, that provides information about the previous state, which means it can't be truly random.
@davidjames1684
@davidjames1684 2 года назад
There are multiple errors in this presentation. Downvoted.
Далее
Python Sudoku Solver - Computerphile
10:53
Просмотров 1,2 млн
Proof that algorithms are interesting!
12:39
Apache Kafka in 6 minutes
6:48
Просмотров 995 тыс.
Coding Interview: Find K Closest Elements
19:14
Просмотров 3,4 тыс.
3 Types of Algorithms Every Programmer Needs to Know
13:12
Python's Thread Barriers in 8 mins
8:50
Просмотров 3 тыс.
System Design: Why is Kafka fast?
5:02
Просмотров 1,1 млн
5 Useful F-String Tricks In Python
10:02
Просмотров 292 тыс.