摘要: Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length. Do not allocate extra spa 阅读全文
posted @ 2019-08-05 22:57 Schwifty 阅读(139) 评论(0) 推荐(0)
摘要: 08/04/2019 Category: Array Problem #: 1. Two Sum: HashMap 15. 3Sum : Set one target and flow from left to right 16. 3Sum Closest : Pretty same as 3Sum 阅读全文
posted @ 2019-08-05 12:56 Schwifty 阅读(315) 评论(0) 推荐(0)
摘要: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex 阅读全文
posted @ 2019-08-05 05:21 Schwifty 阅读(134) 评论(0) 推荐(0)