EPAM Systems interview question

Some basic Linked List operations.