Pregunta de entrevista de Microsoft

write a program to add a node to the sorted list.