Pregunta de entrevista de Huawei Technologies

How would you reverse a linked list??