摘要: 本文还是总结自Jikai Tang的视频和个人主页 1. 相遇性问题 Leetcode 167. Two Sum II Leetcode 15. 3Sum. 注意如何避免取到重复的解。 阅读全文
posted @ 2017-02-06 02:17 lettuan 阅读(170) 评论(0) 推荐(0) 编辑
摘要: A peak element is an element that is greater than its neighbors. Given an input array where num[i] ≠ num[i+1], find a peak element and return its inde 阅读全文
posted @ 2017-02-06 01:33 lettuan 阅读(132) 评论(0) 推荐(0) 编辑