PTC interview question

Water container leet code questions