Visteon Interview Question

Reverse the string Linkedlist Queue