Aurora interview question

Reverse the linklist how to create queue using linkedlist