NovoInvent interview question

Reverse a string Reverse a linkedlist