Pregunta de entrevista de Keeptrak Research Labs

write an algorithm for linked list reverse