Pregunta de entrevista de Qualcomm Technologies

How to reverse a linked list?