10 weird algorithms

1,069,766
0
2023-12-21に共有
Top 10 most interesting algorithms ever created in computer science. Learn how software engineers have innovative techniques to solve real world problems.

#science #programming #top10

💬 Chat with Me on Discord

discord.gg/fireship

🔗 Resources

Wave Function Collapse demo jaxry.github.io/wave-function-collapse/
Cryptography concepts    • 7 Cryptography Concepts EVERY Develop...  
10 Sorting Algorithms Explained    • Sorting Algorithms Explained Visually  

🔥 Get More Content - Upgrade to PRO

Upgrade at fireship.io/pro
Use code YT25 for 25% off PRO access

🎨 My Editor Settings

- Atom One Dark
- vscode-icons
- Fira Code Font

🔖 Topics Covered

- Algorithms every programmer should know
- How does wave function collapse work
- Quantum computer algorithms
- How do distributed systems stay secure?
- Sorting algorithms expl

コメント (21)
  • @Yhoshua_B
    I don't always understand everything being talked about. I just appreciate being exposed to the knowledge.
  • @wlockuz4467
    Fireship was helping programmers to add tech to their resumes with 100 second series, now he is helping interviewer with new questions for the interviews.
  • @Equalisys
    Algorithm (noun) : Word that programers use when they don't want to explain what they are doing
  • @GSBarlev
    My favorite algorithm is probably Perlin Noise. You touched on procedural generation in your wavefunction collapse portion, but the fact that the result is deterministic (based on the initial seed) and independent of the order of the observations is just mind-blowning.
  • @awiewahh
    Diffusion was not first developed at openai. Diffusion as we know it as an image generation technique started as the Denoising Diffusion Probabilistic Models (DDPM) paper that came out from UC Berkley with Ho et al in 2020. Dall-e 1 wasn't even diffusion, it wasn't until far later that openai joined the diffusion scene.
  • @AdidasDoge
    I might have to memorise all these algorithms in case it comes up in an interview
  • As a mechanical engineer that later became software developer, it's nice for once to see concepts i actually studied like thermodynamics or metallurgy being related to programming
  • Sleep-Sort made me pause, smile, and go “f*king genius” 😂😂😂
  • My favorite algorithms ATM are ones for video games. You see, video games are in the category of “real time simulation” meaning what you see is actually being computed live. That means that there really isn’t a bunch of resources to use; algorithms must be highly effective. The work of optimization is handled by trying to pre-compute things or fake things. My favorite example are oceans. The best water simulation (like in Sea of Thieves) is faked by pulling past data from real science buoys and essentially replaying real water (lol). Otherwise computing water in real time is terribly expensive. It’s a hack but an example of how a resource constrained environment produces creative solutions.
  • @GameWorldRS
    Apprently a guy named Oded Regev just discovered a major improvement to Shor's algorithm. Shor himslef agreed that it vastly improved on his original method.
  • @icitry
    I've actually had bogosort run successfully a couple of times and even showed it to others, but for some reason nobody seems to remember that...
  • @kbobkpop
    Happy to see you covering algorithms! I feel like that is an area of software engineering / computerscience that deserves more love!
  • @nikkehtine
    This might be my favorite Fireship video to date. The quality, the explanations, the humor, the subject, they are all near-perfect!
  • @Gaak967
    Loving the consistency of these videos. Keep up the good work.
  • that graphic you showed which explains the difference between scalers, vectors, matrices, and tensors is incredibly underrated.
  • wave form collaps is not really related to quantum physics but is cool anyway. An algorithm that i miss is the stochastic gradient descent algorithm, what propelled us into the AI area.
  • @teddy_gramz
    One of your most fascinating videos yet! The fact that you relate so many of these to other fields (quantum physics, medicine, thermodynamics, metallurgy) is really cool. I'd love to see more videos of you relating computer science/programming concepts to other fields and real-world phenomena!
  • @linuxguy1199
    I think i'm gonna start using sleep sort in my production apps, wpuld work wonders to minimize the CPU usage of my apps. I currently use quantum bogosort, but it's a little too CPU intensive.
  • @KimOyhus
    I actually did invent a simpler improved variant of the marching cubes algorithm, while sleeping. And the dream was so vivid I thought I had programmed it, but I could not find the code when awake. So I had to write the code again while awake, and it was so easy the second time.