LTIMindtree interview question

Reversing a string and linked list