BT Group Interview Question

Q: Write a code to reverse a Linked List