Pregunta de entrevista de NovoInvent

array and linkedlist related question