Quicksort | C++ Example

  Рет қаралды 8,967

Portfolio Courses

Portfolio Courses

Күн бұрын

Пікірлер: 14
@anilkumar4u2506
@anilkumar4u2506 2 ай бұрын
Thank you very much for the detailed explanation, finally I understood the quick sort algorithm
@luizzzda8760
@luizzzda8760 Жыл бұрын
thank you for the explain this type of sorting. so very clean and help me very much :D
@levondarbinyan3934
@levondarbinyan3934 14 күн бұрын
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?
@RatedA4Aliens
@RatedA4Aliens 10 ай бұрын
@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 10 ай бұрын
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 6 ай бұрын
Had the exact same confusion
@Silentema
@Silentema 22 күн бұрын
Muchas gracias amigo, apesar de que el ingles no es mi idioma, pude entender a la perfeccion el tutorial. like y me suscribo
@tsan8822
@tsan8822 6 ай бұрын
My head exploded sir Btw ty for explanation
@dwivedys
@dwivedys 6 ай бұрын
Whoa!!
@katlehotsotetsi8335
@katlehotsotetsi8335 4 ай бұрын
Thank you
@PortfolioCourses
@PortfolioCourses 4 ай бұрын
You’re welcome! :-)
@martin6101
@martin6101 11 ай бұрын
stary popici to je very good
@VeronFujimori
@VeronFujimori 10 ай бұрын
thank you sir
@PortfolioCourses
@PortfolioCourses 10 ай бұрын
You’re welcome! :-)
Convert A Temperature From Celsius To Fahrenheit | C++ Example
3:54
Portfolio Courses
Рет қаралды 6 М.
Quicksort Algorithm Implementation | C Programming Example
20:37
Portfolio Courses
Рет қаралды 64 М.
БУ, ИСПУГАЛСЯ?? #shorts
00:22
Паша Осадчий
Рет қаралды 3 МЛН
The Ultimate Sausage Prank! Watch Their Reactions 😂🌭 #Unexpected
00:17
La La Life Shorts
Рет қаралды 8 МЛН
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 235 МЛН
Bubble Sort | C++ Example
13:20
Portfolio Courses
Рет қаралды 30 М.
Become a Malloc() Pro
6:58
thedoubleeguy
Рет қаралды 3,6 М.
Selection Sort | C Programming Example
8:00
Portfolio Courses
Рет қаралды 61 М.
Learn Quick Sort in 13 minutes ⚡
13:49
Bro Code
Рет қаралды 393 М.
Dice Roll Simulator | C++ Example
6:01
Portfolio Courses
Рет қаралды 6 М.
Bubble Sort | C Programming Example
14:53
Portfolio Courses
Рет қаралды 129 М.
Merge Sort | C Programming Example
18:02
Portfolio Courses
Рет қаралды 86 М.
31 nooby C++ habits you need to ditch
16:18
mCoding
Рет қаралды 827 М.
БУ, ИСПУГАЛСЯ?? #shorts
00:22
Паша Осадчий
Рет қаралды 3 МЛН