Amazon interview question

Explain Quick sort!? , Heap Sort!?