Pergunta de entrevista da empresa Samsung Semiconductor Inc (US)

The coding session: Given a sequence of numbers, reverse only the last k elements of the sequence. Implement the sequence as a linked list. No starting code was given.