Amazon Interview Question

Explain Quick sort!? , Heap Sort!?