Try It Yourself
Test yourself on the concepts covered in this chapter.
We'll cover the following
Quicksort algorithm
Implement the Quicksort algorithm. It should work like this:
Quicksort.sort([34, 4, 521, 9])
#Output -> [4, 9, 34, 521]
Quicksort.sort([-4, 67, -22, 0, 8])
#Output -> [-22, -4, 0, 8, 67]
Get hands-on with 1400+ tech skills courses.