Quick Sort

Quick Sort is an in-place and a “Divide and Conquer” algorithm.

jb stevenard
Level Up Coding
Published in
2 min readSep 5, 2022

--

It works by partitioning the array into two subparts, one lesser and one greater than the pivot, and calling the function recursively on the two parts. There are many different versions of Quick Sort depending on how you choose the pivot (1st element, last one, in the middle, …).

--

--

iOS Software Engineer @Meta, ex: TikTok, Agoda. Nature Lover, Tech & Personal Finance, Food & Training Addict. https://medium.com/@jbstevenard/membership