2017年9月1日
摘要: 两根指 针1. 一个数组,从两边往中间移动(对撞型)2. 一个数组,同时向前移动(前向型)3. 两个数组(并行型) 对 撞型或者相会型 Two sum 类 和 Partition 类 1 Two Sum public int[] twoSum(int[] numbers, int target) { 阅读全文
posted @ 2017-09-01 14:28 wheleetcode 阅读(174) 评论(0) 推荐(0)