Pregunta de entrevista de The Home Depot

reverse an unsorted integer array; cycle in a linked list