Pregunta de entrevista de Broadcom

The water one with two buckets.