Rexora EduLabs interview question

reverse linked list using recursion