Pergunta de entrevista da empresa Huawei Technologies

How would you reverse a linked list??