Domanda di colloquio di Symbotic

write a function to reverse a string is it possible to reverse a singly linked list in linear time