ExxonMobil interview question

Reverse a linked list and time comp