filmov
tv
Find the smallest without comparing(Radix sort!)
Показать описание
A simple question that leads you into discovery of a startlingly fast, intuitive, and simple algorithm. What if you had to find the smallest in a list of numbers, but you could never compare any two of them? How would you know the smallest without knowing which is smaller?
This video explains how to solve this problem and gives a gentle introduction of the radix sort algorithm. It's intended for computer science students and newer programmers, but more experienced professional engineers and developers may also find these sorting animations and visualizations enjoyable.
Radix sort is a non-comparison sort and one of the fastest sorting algorithms. This video covers most significant digit radix sort (MSD Radix sort) and also mentions least significant digit radix sort and parallelized radix sort. It could also be used as a short review for anyone doing technical interview prep, or for someone who has taken a data structures and algorithms/DSA course and needs a quick refresher.
Links to other resources:
Proof of time complexity (MIT lecture, see towards the end for the proof):
Handling negatives and some suggestions for optimization:
Research papers on running parallel radix sort in-place (saving memory):
An optimized radix sort in C (400+ lines):
Some research on comparative speed:
(scroll to bottom for graphs and English)
My radix sort in Python code -- see the comment, it won't fit here!
This video explains how to solve this problem and gives a gentle introduction of the radix sort algorithm. It's intended for computer science students and newer programmers, but more experienced professional engineers and developers may also find these sorting animations and visualizations enjoyable.
Radix sort is a non-comparison sort and one of the fastest sorting algorithms. This video covers most significant digit radix sort (MSD Radix sort) and also mentions least significant digit radix sort and parallelized radix sort. It could also be used as a short review for anyone doing technical interview prep, or for someone who has taken a data structures and algorithms/DSA course and needs a quick refresher.
Links to other resources:
Proof of time complexity (MIT lecture, see towards the end for the proof):
Handling negatives and some suggestions for optimization:
Research papers on running parallel radix sort in-place (saving memory):
An optimized radix sort in C (400+ lines):
Some research on comparative speed:
(scroll to bottom for graphs and English)
My radix sort in Python code -- see the comment, it won't fit here!
Комментарии