Thales Interview Question

k reverse each linked list.