XYZ Interview Question

Linked list reverse Same question with recursion