Pregunta de entrevista de Gameberry Labs

Finding loop in a linkedlist, rainwater problem.