11 2018 档案

摘要:LeetCode Notes_#17 Letter Combinations of a Phone NumberLeetCode Contents题目思路和解答思路解答 题目Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number co... 阅读全文
posted @ 2018-11-20 21:52 Howfar's 阅读(167) 评论(0) 推荐(0)
摘要:LeetCode Notes_#18 4SumLeetCode Contents题目思路和解答思路解答 题目Given an array nums of n integers and an integer target, are there elements a, b, c, and d in nums such that a + b + c + d = target? Find all un... 阅读全文
posted @ 2018-11-15 17:33 Howfar's 阅读(167) 评论(0) 推荐(0)
摘要:LeetCode Notes_#16 3Sum CloestLeetCode Contents题目思路和解答思路解答 题目Given an array nums of n integers and an integer target, find three integers in nums such that the sum is closest to target. Return the s... 阅读全文
posted @ 2018-11-14 20:21 Howfar's 阅读(126) 评论(0) 推荐(0)
摘要:LeetCode Notes_#15 3SumLeetCode Contents题目思路和解答思路解答 题目Given an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique triplets in the array which gives... 阅读全文
posted @ 2018-11-08 20:16 Howfar's 阅读(133) 评论(0) 推荐(0)
摘要:LeetCode Notes_#11 Container with Most WaterLeetCode Contents题目思路和解答思路解答需要注意的点 题目Given n non-negative integers a1, a2, ..., an , where each represents a point at coordinate (i, ai). n vertical lines... 阅读全文
posted @ 2018-11-08 16:42 Howfar's 阅读(115) 评论(0) 推荐(0)