Pregunta de entrevista de Microsoft

Sort linked list with certain time complexity