
leetcode
文章平均质量分 79
travellerdiao
好好学习,天天向上
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
leetcode28. Implement strStr()
题目描述:Implement strStr().Return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.Example 1:Input: haystack = "hello", needle = "ll"Output: 2Example 2:I...原创 2018-05-18 11:48:07 · 205 阅读 · 0 评论 -
leetcode26. Remove Duplicates from Sorted Array
题目描述: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 space for another array, you must do this by modi...原创 2018-05-18 13:06:29 · 224 阅读 · 0 评论 -
backTrack
leetcode中常见的backTrack类题目:combination、subsets、permutation、Palindrome Partitioning.1、combination<1>leetcode39. Combination Sum题目描述:Given a collection of candidate numbers (candidates) and a target...原创 2018-05-21 10:10:26 · 937 阅读 · 0 评论