Premium Only Content
This video is only available to Rumble Premium subscribers. Subscribe to
enjoy exclusive content and ad-free viewing.
Random Shuffle & Fisher-Yates Algorithm
Repost
4 years ago
74
This lecture introduces the random permutation (aka random shuffling) problem. We can use Fisher-Yates algorithm for randomly shuffling a sequence. This lecture introduces the two versions of the Fisher-Yates shuffle. The original version [Fisher-Yates 1938] has quadratic time complexity. The modern version [Durstenfeld 1964] has linear time complexity.
Slides: https://github.com/wangshusen/AdvancedAlgorithms
Reference:
1. Fisher, Ronald A.; Yates, Frank. Statistical tables for biological, agricultural and medical research, 1938.
2. Durstenfeld, R. Algorithm 235: Random permutation. Communications of the ACM, 7 (7): 420, 1964.
Loading comments...
-
21:57
IntentAsh
4 years ago $0.01 earnedRandom News
341 -
0:11
Funwith5
4 years ago $0.02 earnedRandom Parkour!
528 -
0:30
LifeAdventuresWithCam
4 years agoRandom time.
8 -
0:49
APyratelyfe
4 years agoRandom Scuba!
167 -
0:58
StutteringGuitarist
4 years agoTigress Shuffle
95 -
2:11
laci
4 years ago $0.04 earnedRandom shit
429 -
0:12
Random
4 years agoRandom Vape clouds 002
67 -
0:07
Kassysdad
4 years ago $0.01 earnedRandom Vape clouds 001
458 -
3:19
Tat2wheelz
4 years agoRandom and Funny Moto Moments
341 -
50:00
Graham Allen
5 hours agoGoodbye 2024…. HELLO 2025!!
66.1K16