摘要:
链接:https://oj.leetcode.com/problems/3sum-closest/跟3-sum的思路是一样的。根据sum与target的大小关系,分别移动数组两端的“指针”,同时记录sum与target最小的距离class Solution {public: int three... 阅读全文
posted @ 2015-02-02 22:33
frankM
阅读(105)
评论(0)
推荐(0)
浙公网安备 33010602011771号