Netsmart Interview Question

They asked me to reverse a linked list