Bubble Sort 1- Algorithm

Поділитися
Вставка
  • Опубліковано 12 січ 2025

КОМЕНТАРІ • 13

  • @jtlunsford780
    @jtlunsford780 Рік тому

    I've heard the term Bubble Sort many times. Never needed it, so I never pursued it. Great explanation, can't wait to follow through and see how to use it. Love your vids. Thanks so much...JT

  • @LindaLawton
    @LindaLawton 8 років тому +2

    Awesome video cant wait to see number three

    • @harounlee208
      @harounlee208 2 роки тому

      are you sure you have understood linda ? because you don't seem to be a high potential. Otherwise you can send me a mail and I will try to help you. don't be ashamed.

  • @kevnar
    @kevnar 4 роки тому +1

    Instead of scanning the list itemCount - 1 times, just set a boolean variable swapped to true any time a swap takes place, and keep scanning until swapped = false after a scan. That way, if all items are in order except one (1, 2, 3, 5, 4, 6, 7, 8), you don't do a lot of redundant scanning.
    EDIT: Never mind. I see you've addressed this exact issue in video 2.

  • @2mlplolayt
    @2mlplolayt 4 роки тому +2

    Thank you!!

  • @RealVoidex
    @RealVoidex Рік тому +1

    Great content but now you just made my professor assign more work...

  • @saeedmirzaei1
    @saeedmirzaei1 4 роки тому +1

    Great Job, Thanks so much

  • @openworld7585
    @openworld7585 4 роки тому +1

    you are great