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—— trapping-rain-water
Given
n non-negativeintegersrepresentinganelevationmapwherethewidthofeachbaris1,computehowmuchwateritisabletotrapafterraining.Forexample
renjiewen1995
·
2016-04-19 21:00
LeetCode
C++
leetcode——largestRectangleArea
题目描述
Given
n non-negativeintegersrepresentingthehistogram'sbarheightwherethewidthofeachbaris1,findtheareaoflargestrectangleinthehistogram.Aboveisahistogramwherewidthofeachbaris1
renjiewen1995
·
2016-04-19 19:00
LeetCode
C++
[C语言][LeetCode][82]Remove Duplicates from Sorted List II
RemoveDuplicatesfromSortedListIIGivenasortedlinkedlist,deleteallnodesthathaveduplicatenumbers,leavingonlydistinctnumbersfromtheoriginallist.Forexample,
Given
1
Timsley
·
2016-04-19 19:00
LeetCode
C语言
[C语言][LeetCode][92]Reverse Linked List II
题目ReverseLinkedListIIReversealinkedlistfrompositionmton.Doitin-placeandinone-pass.Forexample:
Given
1->
Timsley
·
2016-04-19 19:00
LeetCode
C语言
leetcode——82——Remove Duplicates from Sorted List II
Givenasortedlinkedlist,deleteallnodesthathaveduplicatenumbers,leavingonlydistinctnumbersfromtheoriginallist.Forexample,
Given
1
happyxuma1991
·
2016-04-19 16:00
LeetCode
算法题
Docker 批量push脚本
/bin/sh # This script will upload the
given
local images to a registry server ($registry is the default
vincent927
·
2016-04-19 16:00
shell
push
docker
96. Unique Binary Search Trees
Given
n,howmanystructurallyunique BST's (binarysearchtrees)thatstorevalues1...n?
qq_27991659
·
2016-04-19 15:00
[LeetCode]Integer Break
twopositiveintegersandmaximizetheproductofthoseintegers.Returnthemaximumproductyoucanget.Forexample,
given
CiaoLiang
·
2016-04-19 14:00
奇数偶数序列
Given
1->2->3->4->5->NULL,return 1->3->5->2->4->NULL.注:不是leetcode的那道OddEvenLinkedListListNode*oddEvenList
u010005161
·
2016-04-19 14:00
LeetCode
C++
linklist
[spark-src-core]
given
SPARK_PRINT_LAUNCH_COMMAND to output more details
withenablingbothsystemenvironment'SPARK_PRINT_LAUNCH_COMMAND'and--verbose,thesparkcommandismoredetailedthatoutputedfromspark-submit.sh: hadoop@GZsw04:~/spark/spark-1.4.1-bin-hadoop2.4$spark-submit--ma
leibnitz
·
2016-04-19 12:00
[C语言][LeetCode][61]Rotate List
题目RotateListGivenalist,rotatethelisttotherightbykplaces,wherekisnon-negative.Forexample:
Given
1->2->3-
Timsley
·
2016-04-19 09:00
LeetCode
C语言
238. Product of Array Except Self
isequaltotheproductofalltheelementsof nums except nums[i].Solveit withoutdivision andinO(n).Forexample,
given
qq_27991659
·
2016-04-18 22:00
268. Missing Number
Givenanarraycontaining n distinctnumberstakenfrom 0,1,2,...,n,findtheonethatismissingfromthearray.Forexample,
Given
qq_27991659
·
2016-04-18 21:00
260. Single Number III
inwhichexactlytwoelementsappearonlyonceandalltheotherelementsappearexactlytwice.Findthetwoelementsthatappearonlyonce.Forexample:
Given
qq_27991659
·
2016-04-18 21:00
Trapping Rain Water
Given
n non-negativeintegersrepresentinganelevationmapwherethewidthofeachbaris1,computehowmuchwateritisabletotrapafterraining.Forexample
u010005161
·
2016-04-18 21:00
LeetCode
C++
array
point
Two
LeetCode 97. Interleaving String
Givens1,s2,s3,findwhethers3isformedbytheinterleavingofs1ands2.Forexample,
Given
:s1="aabcc",s2="dbbca",
github_34333284
·
2016-04-18 09:00
LeetCode 86. Partition List
partitionitsuchthatallnodeslessthanxcomebeforenodesgreaterthanorequaltox.Youshouldpreservetheoriginalrelativeorderofthenodesineachofthetwopartitions.Forexample,
Given
1
zhyh1435589631
·
2016-04-17 21:00
LeetCode
leetcode——61——Rotate List
Givenalist,rotatethelisttotherightbykplaces,wherekisnon-negative.Forexample:
Given
1->2->3->4->5->NULLandk
happyxuma1991
·
2016-04-17 16:00
LeetCode
算法题
move_zero(linklist version)
writeafunctiontomoveall 0'stotheendofitwhilemaintainingtherelativeorderofthenon-zeroelements.Forexample,
given
u010005161
·
2016-04-17 11:00
LeetCode
C++
linklist
112.Spiral Matrix II
Givenaninteger n,generateasquarematrixfilledwithelementsfrom1to n2 inspiralorder.Forexample,
Given
n =
u010339647
·
2016-04-17 09:00
LeetCode 83. Remove Duplicates from Sorted List
Givenasortedlinkedlist,deleteallduplicatessuchthateachelementappearonlyonce.Forexample,
Given
1->1->2,return1
github_34333284
·
2016-04-17 07:00
leetcode——49——Group Anagrams
Givenanarrayofstrings,groupanagramstogether.Forexample,
given
:["eat","tea","tan","ate","nat","bat"],Return
happyxuma1991
·
2016-04-16 21:00
LeetCode
算法题
LeetCode之19---Remove Nth Node From End of List
Note:
Given
Jung_zhang
·
2016-04-16 14:00
LeetCode
算法
LeetCode之19---Remove Nth Node From End of List
Note:
Given
Jung_zhang
·
2016-04-16 14:00
LeetCode
算法
LeetCode 第 3 题(Longest Substring Without Repeating Characters)
LongestSubstringWithoutRepeatingCharacters)Givenastring,findthelengthofthelongestsubstringwithoutrepeatingcharacters.Examples:
Given
liyuanbhu
·
2016-04-16 12:00
LeetCode
算法
LeetCode 300. Longest Increasing Subsequence
Givenanunsortedarrayofintegers,findthelengthoflongestincreasingsubsequence.Forexample,
Given
[10,9,2,5,3,7,101,18
github_34333284
·
2016-04-16 09:00
LeetCode 56. Merge Intervals
Givenacollectionofintervals,mergealloverlappingintervals.Forexample,
Given
[1,3],[2,6],[8,10],[15,18],return
github_34333284
·
2016-04-16 04:00
[LeetCode][DP] Trapping Rain Water
ProblemGivennnon-negativeintegersrepresentinganelevationmapwherethewidthofeachbaris1,computehowmuchwateritisabletotrapafterraining.Forexample,
Given
楷书
·
2016-04-16 02:57
Longest Substring Without Repeating Characters
LongestSubstringWithoutRepeatingCharacters)-mediumGivenastring,findthelengthofthelongestsubstringwithoutrepeatingcharacters.Examples:
Given
"abcabcbb
Amazing_happens
·
2016-04-15 15:38
LeetCode
LeetCode 91. Decode Ways
->2…‘Z’->26Givenanencodedmessagecontainingdigits,determinethetotalnumberofwaystodecodeit.Forexample,
Given
zhyh1435589631
·
2016-04-15 13:00
LeetCode
LeetCode-283.Move Zeroes
writeafunctiontomoveall 0'stotheendofitwhilemaintainingtherelativeorderofthenon-zeroelements.Forexample,
given
zmq570235977
·
2016-04-14 22:00
LeetCode
【LeetCode】96. Unique Binary Search Trees 解法及注释
Forexample,
Given
n =3,thereare
Jin_Kwok
·
2016-04-14 16:00
LeetCode
C++
unique
search
binary
数学分析
解法及注释
leetcode——34——Search for a Range
findthestartingandendingpositionofagiventargetvalue.Youralgorithm'sruntimecomplexitymustbeintheorderofO(logn).Ifthetargetisnotfoundinthearray,return[-1,-1].Forexample,
Given
happyxuma1991
·
2016-04-14 15:00
LeetCode
算法题
LeetCode:Rotate List
291807 Difficulty: MediumGivenalist,rotatethelisttotherightby k places,where k isnon-negative.Forexample:
Given
itismelzp
·
2016-04-14 14:00
LeetCode
list
rotate
LeetCode 92. Reverse Linked List II
1.题目描述Reversealinkedlistfrompositionmton.Doitin-placeandinone-pass.Forexample:
Given
1->2->3->4->5->NULL
zhyh1435589631
·
2016-04-14 09:00
LeetCode
LeetCode 93. Restore IP Addresses
Givenastringcontainingonlydigits,restoreitbyreturningallpossiblevalidIPaddresscombinations.Forexample:
Given
zhyh1435589631
·
2016-04-13 23:00
LeetCode
【LeetCode】92. Reverse Linked List II 解法及注释
249393 Difficulty: MediumReversealinkedlistfromposition m to n.Doitin-placeandinone-pass.Forexample:
Given
Jin_Kwok
·
2016-04-13 22:00
LeetCode
C++
details
指针操作
submission
[Leetcode] 203. Remove Linked List Elements
RemoveLinkedListElementsRemoveallelementsfromalinkedlistofintegersthathavevalueval.Example*****
Given
:
gammaliu
·
2016-04-13 21:14
LeetCode(52)-Remove Linked List Elements
Example
Given
:1-->2-->6-->3-->4-->5-->6,val=6 Return:1-->2-->3-->4-->5思路:题意:有序列表里面去掉给定的元素遍历发现相同的,就去掉,
u010321471
·
2016-04-13 21:00
LeetCode
算法
面试
remove
LinkedList
[LeetCode]Longest Increasing Subsequence
Givenanunsortedarrayofintegers,findthelengthoflongestincreasingsubsequence.Forexample,
Given
[10,9,2,5,3,7,101,18
zxdfc
·
2016-04-13 15:00
[C语言][LeetCode][24]Swap Nodes in Pairs
题目SwapNodesinPairsGivenalinkedlist,swapeverytwoadjacentnodesandreturnitshead.Forexample,
Given
1->2->3-
Timsley
·
2016-04-13 08:00
LeetCode
算法
LeetCode 143. Reorder List
Ln,reorderitto:L0→Ln→L1→Ln-1→L2→Ln-2→…Youmustdothisin-placewithoutalteringthenodes'values.Forexample,
Given
github_34333284
·
2016-04-13 08:00
LeetCode 86. Partition List
partitionitsuchthatallnodeslessthanxcomebeforenodesgreaterthanorequaltox.Youshouldpreservetheoriginalrelativeorderofthenodesineachofthetwopartitions.Forexample,
Given
1
github_34333284
·
2016-04-13 00:00
LeetCode 61. Rotate List
Givenalist,rotatethelisttotherightbykplaces,wherekisnon-negative.Forexample:
Given
1->2->3->4->5->NULLandk
github_34333284
·
2016-04-12 23:00
LeetCode 97. Interleaving String
1.题目描述Givens1,s2,s3,findwhethers3isformedbytheinterleavingofs1ands2.Forexample,
Given
:s1=“aabcc”,s2=“dbbca
zhyh1435589631
·
2016-04-12 22:00
LeetCode
19. Remove Nth Node From End of List
Note:
Given
n
jingmiaa
·
2016-04-12 22:00
LeetCode
C++
poj3304 Segments
Given
n segmentsinthetwodimensionalspace,writeaprogram,whichdeterminesifthereexistsalinesuchthatafterprojectingthesesegmentsonit
dd_lucky
·
2016-04-12 20:00
【leetcode】Add Digits[easy]
Givenanon-negativeinteger num,repeatedlyaddallitsdigitsuntiltheresulthasonlyonedigit.Forexample:
Given
eclipse_c
·
2016-04-12 18:00
leetcode93-Restore IP Addresses(存储合法ip地址)
Givenastringcontainingonlydigits,restoreitbyreturningallpossiblevalidIPaddresscombinations.Forexample:
Given
will130
·
2016-04-12 15:00
LeetCode 41. First Missing Positive
Givenanunsortedintegerarray,findthefirstmissingpositiveinteger.Forexample,
Given
[1,2,0]return3,and[3,4
github_34333284
·
2016-04-12 00:00
上一页
43
44
45
46
47
48
49
50
下一页
按字母分类:
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
其他