题目链接Leetcode_11. 盛最多水的容器关键词{% label 双指针 yellow %}、{% label 贪心 blue%}解析定义两个指针,一个指左边,一个指右边,每次都移动较小的一边,从两边向中间逼近代码Author:CoderWddURL:https://www.wuinsights.top//article/d2dfaa17c28aCopyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!Relate PostsLeetcode 2923. 找到冠军 ILeetcode1026. 节点与其祖先之间的最大差值Leetcode 1702. 修改后的最大二进制字符串Leetcode 894. 所有可能的真二叉树Leetcode_64-最小路径和Leetcode_907-子数组的最小值之和Leetcode_5.最长回文子串Java垃圾收集