Cognizant Interview Question

Explain bubble sort and quick sort