Tech Mahindra Interview Question

Write a program to reverse a LinkedIn list