Pergunta de entrevista da empresa Yahoo

Logical question: related to water jars