Amdocs interview question

Implement Linked list Reverse a string