Nagarro interview question

Explain Quick sort How will you decide which sorting algorithm to use if a array is given?