Pergunta de entrevista da empresa Deloitte

Reverse the link list present with given complexity