美团面试美团一面1.算法给定一个整形数组arr,已知其中所有的值都是非负的,将这个数组看作一个容器,请返回容器能装多少水。输入:3,1,2,5,2,4输出:5!image.png(https://imghelloworld.osscn