Thank you very much for the detailed explanation, finally I understood the quick sort algorithm
@luizzzda8760 Жыл бұрын
thank you for the explain this type of sorting. so very clean and help me very much :D
@levondarbinyan393414 күн бұрын
Thank you for good explanation. I have a question about the last part. We randomly swap the last element of the array, just in case it was sorted already - correct? Why do we want to choose the index randomly? Why can't we just take the middle index between high and low?
@RatedA4Aliens10 ай бұрын
@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 ?
@VeronFujimori10 ай бұрын
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.
@dwivedys6 ай бұрын
Had the exact same confusion
@Silentema22 күн бұрын
Muchas gracias amigo, apesar de que el ingles no es mi idioma, pude entender a la perfeccion el tutorial. like y me suscribo