Cisco interview question

Write a reverse linked list