Coviam Interview Question

Write the pseudo for reversing the linked list?