10 weird algorithms every developer should know
Video Overview & Insights
Top 10 most interesting algorithms ever created in computer science. Learn how software engineers have innovative techniques to solve real world problems.
sleep sort the best
#science #programming #top10
💬 Chat with Me on Discord
https://discord.gg/fireship
🔗 Resources
CFOP mention
Wave Function Collapse demo https://jaxry.github.io/wave-function-collapse/
Cryptography concepts https://youtu.be/NuyzuNBFWxQ
Where's boxes and glue?
10 Sorting Algorithms Explained https://youtu.be/RfXt_qHDEPw
🔥 Get More Content - Upgrade to PRO
Upgrade at https://fireship.io/pro
Use code YT25 for 25% off PRO access
The real algorithm would be how to find the universe where the list is sorted.
🎨 My Editor Settings
- Atom One Dark
I love that some random from 4chan has offered the world a genius dumbest algorithm
- vscode-icons
- Fira Code Font
In RSA's example you don't multiply 2 numbers to find the original 2 primes. Instead you try to factorize a large number to find 2 primed that multiplied result in the original number.
🔖 Topics Covered
- Algorithms every programmer should know
- How does wave function collapse work
- Quantum computer algorithms
Observe in physics terms mean to measure using an instrument
- How do distributed systems stay secure?
- Sorting algorithms explained
3:17 you need to explain what you mean by "Temperature".
6:35 you skipped over how 98% of marching cubes works.
7:35 SIGH, maybe just don't try to explain anything on this one.
More User Perspectives
a subshell is not a new thread its whole new process.
@chapterjason0:59 "the universe wrote this algorithm to cut down on its AWS Bill" 😂😂this got me laughing so hard
@clintonnwezeaku7265Sleep sort is one of the most psychopathic pieces of code you can commit, some people have no morals
@ataaronoYou are brilliant mate. Really, how can i learn so much while laughing so much, at each video
@jakegreen314I watch this video while screaming
@QUbyyteWatched this whole video and understood practically nothing
@SirMaxwellsDemonMy favorite is by far *Miracle Sort*. The algorithm just periodically checks if the array sorted in the hopes that it just magically sorts itself.
Believe it or not, but this algorithm actually works, because stray alpha particles can flip bits in memory. These are normally corrected for, but not if enough bits flip at the same time.
The chance is low, but not zero. Whether an array actually gets sorted before the heat-death of the universe is a question I'll answer another time :)
I have no idea what your problem is with Java.
Coherent syntax, reasonable memory safety, objects.
2:31 LMAO 🤣🤣🤣
@kocunys180I prefer Stalin sort. Every item that is not in order gets shot (deleted).
@GalliadII0:10 back WHEN? That's when IT happened!!! THE BITE OF 87'th !!!!!!
@ghast9010:04 bro constantly! Oh... Just me? 😅
@hereticaljake740is it just me or there are two voices voicing-over in this video.
@ahmedzuraif4156This hit the spot!
@Panda-ProgIn my university they only taught us Simulated Annealing and Boyer Moore String Search.
@syedarrafi4213You missed the Fast Inverse Square Root function. I can't believe I can't find anyone else in the comments mentioning it. It is legendary. It is responsible for the incredible performance gains of Quake III and a generation of other video games.
@devnelsonWhen talking about Simulated Annealing and other approximation algorithms it is important to state, that it is not out to find the optimal solution, but tries to approximate it. By definition it is not an optimization algorithm, as it doesn't check all 2^n possible solutions.
@cyrol5424lol at the "a man a plan panama" for boyer moore. I have the same textbook.
@max1point8tAfter watching this video. I feel like an imposter again in programming as a self taught developer.
@royalcapitalfxNothing weird about it
@uninitializedvariablequantum bogosort is like rick and morty
@wowieidgafdont let em get up to 42 ....
@harambo88the way I heard quantum bogosort was to
1. bogosort
2. if the list is not sorted, destroy the universe
Clickbait lol, many of them are not even that weird but trivial af
@Flw-uv2mdHaha funny algorithms haha you think you understand them until you dive deeper and deeper into the math and they don't work as expected or u don't understand nothing again. Maybe I am talking about quantum optimization algorithms who knows.
@vasilisvitaskos3481Al Gore Rhythm hmmmm
@vanus0000You forgot the best sort of all time—StalinSort. You iterate over the array and remove any items that aren’t in order. At the end you have a sorted list.
@_somerandomguyontheinternet_I once had to implement marching cubes from ground-up for a problem in optical switch design
@RachelebanhamCan you make this video but actually explain the algorithms cause after you glossed the first one I lost interest
@slayeryt637You forgot the goat: STALIN SORT!
@w4rr3np34c3You explained the double slit experiment like a moron lol.. its not when you "look" that it changes behavior... lol. It's when you use any instrument to track its path. You physically looking at it doesn't change anything lol. Being able to differentiate or follow its path with a device or instrument does.
@Guy_Lofi_Beatshad 2 hit da freaky wit da freaky 😜
i see u lite skinn when u caint beat em join dem 💯
Marching Cube and boyer string search deserves it's own video... You could argue rsa too, but numberphile and other channels already covered those prime factorization toitet whatever ma jih
@marthvonWhere is the DFT from the thumbnail 😢
@sinanaydn7907Encountered Boyer Moore in Genomic Computation.....blew my mind...still have to revise it every six months...😅
@parthtripathi7781Your Ai voice gen did waver a bit there in the middle. Not much, but might want to check the simulation.
@bgtyhnmju7Finally some one made sort with O(1) sleep sort but with sleep complexity 😂😂
@dineshk6583:37. Hey!! 👀 Thats me (beginner C programmer)
@x-zotic_minded