Domanda di colloquio di Microsoft

Question regarding linked lists and flattening nested linked lists