UKG Interview Question

Reverse a linked list leetcode question