Pregunta de entrevista de Amazon

How to reverse a linkedList?

Respuesta de la entrevista

Anónimo

19 de feb de 2015

I believe a stack data structure would work well for this. Traverse the list and push each node onto the stack. Then pop each off making the list.