![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
同类题目好学习
路漫漫,远修兮
这个作者很懒,什么都没留下…
展开
-
LeetCode_220. Contains Duplicate III_路漫漫远修兮
一、原题目Given an array of integers, find out whether there are two distinct indicesiandjin the array such that theabsolutedifference betweennums[i]andnums[j]is at mosttand theabsoluted...原创 2019-03-26 21:23:36 · 147 阅读 · 0 评论 -
LeetCode_219. Contains Duplicate II_路漫漫远修兮
一、原题目Given an array of integers and an integerk, find out whether there are two distinct indicesiandjin the array such thatnums[i] = nums[j]and theabsolutedifference betweeniandjis a...原创 2019-03-26 20:57:22 · 125 阅读 · 0 评论 -
LeetCode_217. Contains Duplicate_路漫漫远修兮
一、原题目Given an array of integers, find if the array contains any duplicates.Your function should return true if any value appears at least twice in the array, and it should return false if every...原创 2019-03-26 20:28:55 · 181 阅读 · 0 评论 -
LeetCode_39. Combination Sum_路漫漫远修兮
一、原题目Given asetof candidate numbers (candidates)(without duplicates)and a target number (target), find all unique combinations incandidateswhere the candidate numbers sums totarget.Thesa...原创 2019-05-08 21:11:30 · 99 阅读 · 0 评论 -
LeetCode_40. Combination Sum II_路漫漫远修兮
一、原题目Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations incandidateswhere the candidate numbers sums totarget.Each number incand...原创 2019-05-08 21:26:19 · 90 阅读 · 0 评论 -
LeetCode_216. Combination Sum III_路漫漫远修兮
一、原题目Find all possible combinations ofknumbers that add up to a numbern, given that only numbers from 1 to 9 can be used and each combination should be a unique set of numbers.Note:All num...原创 2019-05-08 21:39:43 · 89 阅读 · 0 评论 -
LeetCode_377. Combination Sum IV_路漫漫远修兮
一、原题目Given an integer array with all positive numbers and no duplicates, find the number of possible combinations that add up to a positive integer target.二、题目大意给定一个没有重复元素的列表和一个整数k要求:求列...原创 2019-05-08 21:59:14 · 238 阅读 · 0 评论