What is quick sort?
Quick sort is a sorting algorithm that uses the idea if split and conquer. This algorithm chooses an element called as pivot element; search its position in the array such that it splits the array into two sub arrays. The elements in the left sub array are less than and the elements in the right sub array are greater than the in-between element.