Pergunta de entrevista da empresa Cloudera

leetcode easy, reverse a linked list (solve in java)