TartanHQ interview question

Question on reverse a string using linked list