E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
Given
【一天一道LeetCode】#92. Reverse Linked List II
欢迎大家关注我的新浪微博,我的新浪微博欢迎转载,转载请注明出处(一)题目Reversealinkedlistfrompositionmton.Doitin-placeandinone-pass.Forexample:
Given
1
terence1212
·
2016-06-14 21:00
LeetCode
github
新浪微博
it
LeetCode 147 [Insertion Sort List]
原题用插入排序对链表排序样例
Given
1->3->2->0->null,return0->1->2->3->null解题思路写一个helper函数,根据一个head和一个Node,可以将Node插入到一段
Jason_Yuan
·
2016-06-13 05:44
114. Flatten Binary Tree to Linked List
TotalSubmissions: 270352 Difficulty: MediumGivenabinarytree,flattenittoalinkedlistin-place.Forexample,
Given
1
EbowTang
·
2016-06-12 17:00
LeetCode
C++
算法
面试
遍历
LeetCode:Longest Consecutive Sequence
HardGivenanunsortedarrayofintegers,findthelengthofthelongestconsecutiveelementssequence.Forexample,
Given
itismelzp
·
2016-06-11 15:00
LeetCode
UNION
array
find
【Leetcode】Palindrome Partitioning
suchthateverysubstringofthepartitionisapalindrome.Returnallpossiblepalindromepartitioningof s.Forexample,
given
yeqiuzs
·
2016-06-11 00:00
【Leetcode】Pascal's Triangle II
leetcode.com/problems/pascals-triangle-ii/题目:Givenanindex k,returnthe kth rowofthePascal'striangle.Forexample,
given
yeqiuzs
·
2016-06-10 20:00
【Leetcode】Longest Consecutive Sequence
longest-consecutive-sequence/题目:Givenanunsortedarrayofintegers,findthelengthofthelongestconsecutiveelementssequence.Forexample,
Given
yeqiuzs
·
2016-06-10 20:00
347. Top K Frequent Elements
Givenanon-emptyarrayofintegers,returnthekmostfrequentelements.Forexample,
Given
[1,1,1,2,2,3]andk=2,return
NNNNNNNNNNNNY
·
2016-06-09 15:00
【Leetcode】Max Points on a Line
题目链接:https://leetcode.com/problems/max-points-on-a-line/题目:
Given
n pointsona2Dplane,findthemaximumnumberofpointsthatlieonthesamestraightline
yeqiuzs
·
2016-06-08 21:00
【Leetcode】Group Anagrams
题目链接:https://leetcode.com/problems/anagrams/题目:Givenanarrayofstrings,groupanagramstogether.Forexample,
given
yeqiuzs
·
2016-06-08 21:00
【Leetcode】Add Digits
/题目:Givenanon-negativeinteger num,repeatedlyaddallitsdigitsuntiltheresulthasonlyonedigit.Forexample:
Given
yeqiuzs
·
2016-06-08 21:00
【Leetcode】Remove Duplicates from Sorted List
remove-duplicates-from-sorted-list/题目:Givenasortedlinkedlist,deleteallduplicatessuchthateachelementappearonly once.Forexample,
Given
yeqiuzs
·
2016-06-07 20:00
【一天一道LeetCode】#83. Remove Duplicates from Sorted List
,转载请注明出处(一)题目Givenasortedlinkedlist,deleteallduplicatessuchthateachelementappearonlyonce.Forexample,
Given
1
terence1212
·
2016-06-06 15:00
LeetCode
github
新浪微博
LeetCode:Perfect Squares
MediumGivenapositiveinteger n,findtheleastnumberofperfectsquarenumbers(forexample, 1,4,9,16,...)whichsumto n.Forexample,
given
itismelzp
·
2016-06-04 11:00
LeetCode
Math
dynamic
programming
search
Breadth-first
Flatten Binary Tree to Linked List
题目描述:Givenabinarytree,flattenittoalinkedlistin-place.Forexample,
Given
1 /\ 25 /\\ 346 Theflattenedtreeshouldlooklike
yeshiwu
·
2016-06-03 10:00
java
LeetCode
tree
先序遍历
【Leetcode】Merge Intervals
leetcode.com/problems/merge-intervals/题目:Givenacollectionofintervals,mergealloverlappingintervals.Forexample,
Given
yeqiuzs
·
2016-06-03 10:00
【Leetcode】Unique Binary Search Trees
题目链接:https://leetcode.com/problems/unique-binary-search-trees/题目:
Given
n,howmanystructurallyunique BST's
yeqiuzs
·
2016-06-02 22:00
【Leetcode】Largest Number
largest-number/题目:Givenalistofnonnegativeintegers,arrangethemsuchthattheyformthelargestnumber.Forexample,
given
yeqiuzs
·
2016-06-02 22:00
【leetcode】Rotate List
Givenalist,rotatethelisttotherightbykplaces,wherekisnon-negative.Forexample:
Given
1->2->3->4->5->NULLandk
Rijkstra
·
2016-06-02 21:50
练习
算法
C++
【leetcode】Longest Substring Without Repeating Characters
Givenastring,findthelengthofthelongestsubstringwithoutrepeatingcharacters.Examples:
Given
"abcabcbb",theansweris"abc
Rijkstra
·
2016-06-02 21:45
练习
算法
C++
LeetCode:Add Digits
EasyGivenanon-negativeinteger num,repeatedlyaddallitsdigitsuntiltheresulthasonlyonedigit.Forexample:
Given
itismelzp
·
2016-06-02 17:00
Math
LeetCode
Hard-题目46:214. Shortest Palindrome
youareallowedtoconvertittoapalindromebyaddingcharactersinfrontofit.Findandreturntheshortestpalindromeyoucanfindbyperformingthistransformation.Forexample:
Given
cmershen
·
2016-05-31 23:00
Hard-题目33:97. Interleaving String
题目原文:Givens1,s2,s3,findwhethers3isformedbytheinterleavingofs1ands2.Forexample,
Given
:s1=“aabcc”,s2=“dbbca
cmershen
·
2016-05-31 23:00
Hard-题目29:41. First Missing Positive
题目原文:Givenanunsortedintegerarray,findthefirstmissingpositiveinteger.Forexample,
Given
[1,2,0]return3,and
cmershen
·
2016-05-31 23:00
Hard-题目22:56. Merge Intervals
题目原文:Givenacollectionofintervals,mergealloverlappingintervals.Forexample,
Given
[1,3],[2,6],[8,10],[15,18
cmershen
·
2016-05-31 23:00
Hard-题目8:128. Longest Consecutive Sequence
题目原文:Givenanunsortedarrayofintegers,findthelengthofthelongestconsecutiveelementssequence.Forexample,
Given
cmershen
·
2016-05-31 23:00
Hard-题目7:42. Trapping Rain Water
Givennnon-negativeintegersrepresentinganelevationmapwherethewidthofeachbaris1,computehowmuchwateritisabletotrapafterraining.Forexample,
Given
cmershen
·
2016-05-31 23:00
Middle-题目132:347. Top K Frequent Elements(增补4)
题目原文:Givenanon-emptyarrayofintegers,returnthekmostfrequentelements.Forexample,
Given
[1,1,1,2,2,3]andk=
cmershen
·
2016-05-31 20:00
Middle-题目120:179. Largest Number
LargestNumber题目原文:Givenalistofnonnegativeintegers,arrangethemsuchthattheyformthelargestnumber.Forexample,
given
cmershen
·
2016-05-31 20:00
Middle-题目107:61. Rotate List
题目原文:Givenalist,rotatethelisttotherightbykplaces,wherekisnon-negative.Forexample:
Given
1->2->3->4->5->
cmershen
·
2016-05-31 19:00
Middle-题目105:93. Restore IP Addresses
Givenastringcontainingonlydigits,restoreitbyreturningallpossiblevalidIPaddresscombinations.Forexample:
Given
cmershen
·
2016-05-31 19:00
Middle-题目84:82. Remove Duplicates from Sorted List II
Givenasortedlinkedlist,deleteallnodesthathaveduplicatenumbers,leavingonlydistinctnumbersfromtheoriginallist.Forexample,
Given
1
cmershen
·
2016-05-31 17:00
Middle-题目83:49. Group Anagrams
题目原文:Givenanarrayofstrings,groupanagramstogether.Forexample,
given
:[“eat”,“tea”,“tan”,“ate”,“nat”,“bat
cmershen
·
2016-05-31 17:00
Middle-题目77:92. Reverse Linked List II
题目原文:Reversealinkedlistfrompositionmton.Doitin-placeandinone-pass.Forexample:
Given
1->2->3->4->5->NULL
cmershen
·
2016-05-31 16:00
Middle-题目53:114. Flatten Binary Tree to Linked List
题目原文:Givenabinarytree,flattenittoalinkedlistin-place.Forexample,
Given
1 /\ 25 /\\ 346 Theflattenedtreeshouldlooklike
cmershen
·
2016-05-31 16:00
Middle-题目33:300. Longest Increasing Subsequence
题目原文:Givenanunsortedarrayofintegers,findthelengthoflongestincreasingsubsequence.Forexample,
Given
[10,9,2,5,3,7,101,18
cmershen
·
2016-05-31 15:00
算法
Matrix
Middle-题目25:24. Swap Nodes in Pairs
题目原文:Givenalinkedlist,swapeverytwoadjacentnodesandreturnitshead.Forexample,
Given
1->2->3->4,youshouldreturnthelistas2
cmershen
·
2016-05-31 15:00
Middle-题目3:238. Product of Array Except Self
i]isequaltotheproductofalltheelementsofnumsexceptnums[i].SolveitwithoutdivisionandinO(n).Forexample,
given
cmershen
·
2016-05-31 15:00
【leetcode】Top K Frequent Elements
Givenanon-emptyarrayofintegers,returnthekmostfrequentelements.Forexample,
Given
[1,1,1,2,2,3]andk=2,return
Rijkstra
·
2016-05-31 11:12
练习
算法
C++
STL
LeetCode:Restore IP Addresses
MediumGivenastringcontainingonlydigits,restoreitbyreturningallpossiblevalidIPaddresscombinations.Forexample:
Given
itismelzp
·
2016-05-31 10:00
LeetCode
IP
restore
addresses
Array:
Given
a sorted array of integers, find the starting and ending position of a
given
target value
Givenasortedarrayofintegers,findthestartingandendingpositionofagiventargetvalue.Youralgorithm'sruntimecomplexitymustbeintheorderofO(logn).Ifthetargetisnotfoundinthearray,return[-1,-1].publicstaticint[
敲一手烂代码
·
2016-05-31 10:16
【Leetcode】Unique Binary Search Trees II
题目链接:https://leetcode.com/problems/unique-binary-search-trees-ii/题目:
Given
n,generateallstructurallyunique
yeqiuzs
·
2016-05-31 00:00
Easy-题目62:228. Summary Ranges
题目原文:.Givenasortedintegerarraywithoutduplicates,returnthesummaryofitsranges.Forexample,
given
[0,1,2,4,5,7
cmershen
·
2016-05-30 22:00
LeetCode:Longest Substring Without Repeating Characters
Difficulty: MediumGivenastring,findthelengthofthe longestsubstring withoutrepeatingcharacters.Examples:
Given
itismelzp
·
2016-05-30 20:00
LeetCode
substring
longest
wi
Easy-题目17:83. Remove Duplicates from Sorted List
题目原文:Givenasortedlinkedlist,deleteallduplicatessuchthateachelementappearonlyonce.Forexample,
Given
1->1
cmershen
·
2016-05-30 20:00
LeetCode:Interleaving String
221528 Difficulty: HardGiven s1, s2, s3,findwhether s3 isformedbytheinterleavingof s1 and s2.Forexample,
Given
itismelzp
·
2016-05-30 15:00
LeetCode
String
Interleaving
LeetCode:Group Anagrams
76941 TotalSubmissions: 275801 Difficulty: MediumGivenanarrayofstrings,groupanagramstogether.Forexample,
given
itismelzp
·
2016-05-30 15:00
LeetCode
group
Anagrams
eerror: Error retrieving parent for item: No resource found that matches the
given
name 'Theme.AppCo
当我们出现像标题一样的“eerror:Errorretrievingparentforitem:Noresourcefoundthatmatchesthegivenname'Theme.AppCompat.Light.DarkActionBar'.”错误的时候不要惊慌只需要几步还你一个可以正常运行的demo。第一步点击项目点击右键,你会看到在列表中properties这个字眼点击开来点击andro
NingZhouXu
·
2016-05-29 21:00
bug
导入
依赖包
24. Swap Nodes in Pairs
TotalSubmissions: 281854 Difficulty: EasyGivenalinkedlist,swapeverytwoadjacentnodesandreturnitshead.Forexample,
Given
EbowTang
·
2016-05-29 16:00
LeetCode
C++
算法
链表
面试
24. Swap Nodes in Pairs
TotalSubmissions: 281854 Difficulty: EasyGivenalinkedlist,swapeverytwoadjacentnodesandreturnitshead.Forexample,
Given
EbowTang
·
2016-05-29 16:00
LeetCode
C++
算法
链表
面试
上一页
38
39
40
41
42
43
44
45
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他