Pregunta de entrevista de Philips

Implement merge sort and quick sort, explain its working with an example