Pergunta de entrevista da empresa GGK Tech

Water balancing logical and reasoning question