Pergunta de entrevista da empresa Huawei Technologies

Reversing linked lists two different ways.