How does Bubble Sort work?

Поділитися
Вставка
  • Опубліковано 1 жов 2024
  • Now what's this talk about bubbles on a programming video? We certainly aren't goofing around are we? Well, bubble sort is probably one of the first algorithms we learn, and also one of the slowest, but it introduces us to the wonderful world of sorting algorithms, where down the line we can further explore the complexity and speed of sorting.
    Learn back-end development - www.boot.dev
    Learn Algorithms - www.boot.dev/l...

КОМЕНТАРІ • 8

  • @qwerty-2911
    @qwerty-2911 3 місяці тому +3

    please keep uploading your videos are of high quality, I hope you weren't a backend dev though because I'm not interested in it haha :)

  • @alurma
    @alurma 3 місяці тому +1

    It's kinda fast for a slow algorithm. Only O(n^2). Not THAT bad

    • @bootdotdev
      @bootdotdev  3 місяці тому

      For sorting that's real bad tho

  • @Lordacin
    @Lordacin 3 місяці тому +1

    Thank you for this. I have heard of this algo but never understood the process behind it. I have found in life that I am a visual learner so this was great.

    • @qwerty-2911
      @qwerty-2911 3 місяці тому

      please do you know other channels that explain visually like in this video?

  • @KartikeyTT
    @KartikeyTT 3 місяці тому +1

    Would have been even cooler if you also mentioned we eliminate the last element in each iteration

    • @alurma
      @alurma 3 місяці тому

      You don't need to do that