DataPassports interview question

Reverse a linked list using functional programming