4 ms·
A while ago, I have made a video tutorial on binary search which explains it visually: https://www.youtube.com/watch?v=uHpRuBdcYtI https://www.youtube.com/watc
by truly 5y ago
A while ago, I have made a video tutorial on binary search which explains it visually:
https://www.youtube.com/watch?v=uHpRuBdcYtI https://www.youtube.com/watch?v=uHpRuBdcYtI.
The visual explanation in this article is also very nice (color the items less than the value to search for with green, items larger with red), and it shows how people can have different intuitions over how and why an algorithm works.