- 博客(29)
- 资源 (8)
- 收藏
- 关注
原创 29 leetcode - Divide Two Integers
Divide Two Integers.Divide two integers without using multiplication, division and mod operator.
2016-11-30 20:55:26 248
原创 28 leetcode - Implement strStr()
Implement strStr().Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.
2016-11-30 20:43:56 168
原创 27 leetcode - Remove Element
Remove Element.Given an array and a value, remove all instances of that value in place and return the new length.
2016-11-28 09:57:23 209
原创 26 leetcode - Remove Duplicates from Sorted Array
Remove Duplicates from Sorted Array.Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.
2016-11-28 09:55:23 164
原创 25 leetcode - Swap Nodes in Pairs
Swap Nodes in Pairs. Given a linked list, swap every two adjacent nodes and return its head.
2016-11-28 09:53:33 185
原创 24 leetcode - Merge k Sorted Lists
Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity.
2016-11-23 14:19:09 153
原创 23 leetcode - Generate Parentheses
Generate Parentheses:Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.
2016-11-23 12:56:53 191
原创 22 leetcode - Merge Two Sorted Lists
Merge Two Sorted Lists:Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.
2016-11-22 08:19:04 163
原创 21 leetcode - Valid Parentheses
Valid Parentheses.Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.
2016-11-22 08:17:02 199
原创 20 leetcode - 4Sum
4Sum:Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the array which gives the sum of target.
2016-11-21 12:31:38 177
原创 19 leetcode - Letter Combinations of a Phone Number
Letter Combinations of a Phone Number:Given a digit string, return all possible letter combinations that the number could represent.
2016-11-21 11:14:44 256
原创 18 leetcode - Remove Nth Node From End of List
Remove Nth Node From End of List:Given a linked list, remove the nth node from the end of list and return its head.
2016-11-18 12:46:27 202
原创 17 leetcode - 3Sum Closest
3Sum closest:Given 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.
2016-11-18 08:56:15 255
原创 16 leetcode - 3Sum
3Sum:Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.
2016-11-17 21:45:10 462
原创 14 leetcode - Longest Common Prefix
Longest Common Prefix:Write a function to find the longest common prefix string amongst an array of strings.
2016-11-17 08:38:31 195
原创 13 leetcode - Roman to Integer
Roman to Integer:Given a roman numeral, convert it to an integer.
2016-11-16 14:25:19 225
原创 12 leetcode - Integer to Roman
Integer to Roman,Input is guaranteed to be within the range from 1 to 3999
2016-11-16 14:11:19 217
原创 10 leetcode - Palindrome Number
Palindrome Number:Determine whether an integer is a palindrome. Do this without extra space.
2016-11-15 17:21:09 160
原创 7 - leetcode Longest Palindromic Substring
leetcode Longest Palindromic Substring
2016-11-14 22:24:10 285
原创 5 leetcode - Median of Two Sorted Arrays
Median of Two Sorted Arrays,两个有序数组的中位数题目
2016-11-11 14:43:50 199
原创 3 leetcode - Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters.求最长非重复子串的长度
2016-11-08 15:06:16 179
原创 2 leetcode-Add Two Numbers
You are given two linked lists representing two non-negative numbers.The digits are stored in reverse order and each of their nodes contain a single digit.Add the two numbers and return it as a linked list.
2016-11-07 21:33:00 223
原创 1 leetcode-Two Sum
leetcode algorithms 1Two Sum,Given an array of integers,return indices of the two numbers such that they add up to a specific target.
2016-11-07 20:02:49 322
jdk-8u121-linux-x64.tar.gz
2019-05-22
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人