Cloudera Interview Question

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