![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
算法--LeetCode
nupt_kwz
学习ing
展开
-
LeetCode-1:Two Sum
在牛客网刷了一些算法题,许多的算法题覆盖面不广,于是转战LeetCode,希望能提高自己的编程能力。1.Two SumGiven an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each原创 2017-07-11 10:53:00 · 187 阅读 · 0 评论 -
LeetCode-2:Add Two Numbers
2.Add Two NumbersYou are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the t原创 2017-07-11 10:56:28 · 205 阅读 · 0 评论 -
LeetCode-19:Remove Nth Node From End of List
19.Remove Nth Node From End of List原创 2017-07-15 20:57:38 · 171 阅读 · 0 评论 -
LeetCode-18:4Sum
18.4Sum原创 2017-07-15 20:56:35 · 202 阅读 · 0 评论 -
LeetCode-17:Letter Combinations of a Phone Number
17.Letter Combinations of a Phone Number Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telep原创 2017-07-15 20:55:12 · 316 阅读 · 0 评论 -
LeetCode-16:3Sum Closest
16.3Sum ClosestGiven an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume that each i原创 2017-07-15 20:53:49 · 305 阅读 · 0 评论 -
LeetCode-15:3Sum
15. 3Sum原创 2017-07-14 21:27:37 · 273 阅读 · 0 评论 -
LeetCode-14:Longest Common Prefix
14.Longest Common Prefix原创 2017-07-14 21:27:19 · 283 阅读 · 0 评论 -
LeetCode-13:Roman to Integer
13.Roman to Integer原创 2017-07-14 21:26:53 · 296 阅读 · 0 评论 -
LeetCode-12:Integer to Roman
12.Integer to Roman原创 2017-07-14 21:26:34 · 284 阅读 · 0 评论 -
LeetCode-11:Container With Most Water
11.Container With Most Water原创 2017-07-14 21:26:15 · 259 阅读 · 0 评论 -
LeetCode-10:Regular Expression Matching
10.Regular Expression Matching原创 2017-07-13 08:01:05 · 260 阅读 · 0 评论 -
LeetCode-9:Palindrome Number
9.Palindrome Number原创 2017-07-13 08:00:15 · 173 阅读 · 0 评论 -
LeetCode-8:String to Integer (atoi)
8.String to Integer (atoi)原创 2017-07-13 07:59:18 · 169 阅读 · 0 评论 -
LeetCode-6:ZigZag Conversion
6.ZigZag Conversion原创 2017-07-13 07:57:24 · 234 阅读 · 0 评论 -
LeetCode-4:Median of Two Sorted Arrays
4.Median of Two Sorted Arrays原创 2017-07-11 11:04:59 · 197 阅读 · 0 评论 -
LeetCode-3:Longest Substring Without Repeating Characters
3.Longest Substring Without Repeating CharactersGiven a string, find the length of the longest substring without repeating characters.Examples:Given "abcabcbb", the answer is "abc", wh原创 2017-07-11 11:00:01 · 189 阅读 · 0 评论