Kivi Technologies interview question

Program to reverse linked List