HCLTech interview question

Reverse a Single linked list