Kinaxis Interview Question

Reverse link list with recursion.