Leoforce Interview Question

reverse a linked list in leetcode