Quicksort | C++ Example

Поділитися
Вставка
  • Опубліковано 18 жов 2024

КОМЕНТАРІ • 12

  • @anilkumar4367
    @anilkumar4367 Місяць тому

    Thank you very much for the detailed explanation, finally I understood the quick sort algorithm

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

    thank you for the explain this type of sorting. so very clean and help me very much :D

  • @RatedA4Aliens
    @RatedA4Aliens 9 місяців тому +1

    @3:00 Confused as to why you changed the order of elements when pivot at last index (value 5), shouldn't the order be 5,6,7 instead of 5,7,6 ?

    • @VeronFujimori
      @VeronFujimori 9 місяців тому

      If you describe the algoritm, you will find that the variable i = low at the 6 and the high at the 5. So, they swapped and become 5 7 6.

    • @dwivedys
      @dwivedys 4 місяці тому

      Had the exact same confusion

  • @tsan8822
    @tsan8822 4 місяці тому

    My head exploded sir
    Btw ty for explanation

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

    Thank you

  • @VeronFujimori
    @VeronFujimori 9 місяців тому

    thank you sir

  • @martin6101
    @martin6101 10 місяців тому

    stary popici to je very good

  • @dwivedys
    @dwivedys 4 місяці тому

    Whoa!!