Pregunta de entrevista de Unilog

Write logic for merge sort and insertion sort.