Quicksort | C++ Example

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ย. 2024

ความคิดเห็น • 12

  • @anilkumar4367
    @anilkumar4367 28 วันที่ผ่านมา

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

  • @RatedA4Aliens
    @RatedA4Aliens 8 หลายเดือนก่อน +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 8 หลายเดือนก่อน

      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

  • @luizzzda8760
    @luizzzda8760 ปีที่แล้ว

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

  • @dwivedys
    @dwivedys 4 หลายเดือนก่อน

    Whoa!!

  • @martin6101
    @martin6101 9 หลายเดือนก่อน

    stary popici to je very good

  • @katlehotsotetsi8335
    @katlehotsotetsi8335 2 หลายเดือนก่อน

    Thank you

  • @VeronFujimori
    @VeronFujimori 8 หลายเดือนก่อน

    thank you sir