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 No128. Longest Consecutive Sequence
Question:Givenanunsortedarrayofintegers,findthelengthofthelongestconsecutiveelementssequence.Forexample,
Given
u011391629
·
2016-11-05 19:00
LeetCode
【leetcode】61. Rotate List
1.题目Givenalist,rotatethelisttotherightbykplaces,wherekisnon-negative.Forexample:
Given
1->2->3->4->5->NULLandk
knzeus
·
2016-11-03 00:00
链表
c++
数据结构
算法
leetcode
LeetCode027. Remove Element C语言
Given
an array and a value, remove all instances of that value in place and return the new length.Do
努力的C
·
2016-11-02 21:17
双指针
LeetCode
链表插入排序
样例
Given
1->3->2->0->null,return0->1->2->3->null/***DefinitionforListNode.
chriscute
·
2016-11-01 18:28
lintcode
记录-easy
排序
LeetCode167. Two Sum II - Input array is sorted C语言
Given
an array of integers that is already sorted in ascending order, find two numbers such that they
努力的C
·
2016-11-01 09:46
双指针
LeetCode
LeetCode169. Majority Element C语言
Given
an array of size n, find the majority element.
努力的C
·
2016-10-31 22:23
数组半数
LeetCode
error: Error retrieving parent for item: No resource found that matches the
given
name 'android:Wind
Error:(33)Errorretrievingparentforitem:Noresourcefoundthatmatchesthegivenname'android:Widget.Material.Button.Colored'.Error:(4)Errorretrievingparentforitem:Noresourcefoundthatmatchesthegivenname'andro
Light-Lu
·
2016-10-31 15:47
android
studio
android进阶之路
leetcode No143. Reorder List
,reorderitto: L0→Ln→L1→Ln-1→L2→Ln-2→…Youmustdothisin-placewithoutalteringthenodes'values.Forexample,
Given
u011391629
·
2016-10-29 11:00
LeetCode
371. Sum of Two Integers (实现二进制全加器)
Calculatethesumoftwointegers a and b,butyouare notallowed tousetheoperator + and -.Example:
Given
a =1and
xiangwanpeng
·
2016-10-28 11:00
LeetCode
算法
二进制
位操作
350. Intersection of Two Arrays II (求两个数组的交集,包含重复元素)
Giventwoarrays,writeafunctiontocomputetheirintersection.Example:
Given
nums1 = [1,2,2,1], nums2 = [2,2
xiangwanpeng
·
2016-10-28 11:00
LeetCode
算法
数组
349. Intersection of Two Arrays (求两个数组的交集,不包含重复元素)
Giventwoarrays,writeafunctiontocomputetheirintersection.Example:
Given
nums1 = [1,2,2,1], nums2 = [2,2
xiangwanpeng
·
2016-10-28 11:00
LeetCode
算法
数组
leetcode No215. Kth Largest Element in an Array
kthlargestelementinanunsortedarray.Notethatitisthekthlargestelementinthesortedorder,notthekthdistinctelement.Forexample,
Given
u011391629
·
2016-10-25 16:00
LeetCode
LeetCode066 Plus One C语言
Given
a non-negative number represented as an array of digits, plus one to the number.The digits are
努力的C
·
2016-10-24 23:38
leetcode
LeetCode
LeetCode002 Add Two Numbers C语言
You are
given
two linked lists representing two non-negative numbers.
努力的C
·
2016-10-22 20:43
leetcode
LeetCode
LeetCode001 Two Sum C语言
1.
Given
an array of integers, return indices of the two numbers such that they add up to a specific target.You
努力的C
·
2016-10-22 19:34
Code
Leet
LeetCode
【LC总结】翻转链表 Swap in Pairs, Reverse in k-Group, Reverse LinkedList
SwapNodesinPairsForexample,
Given
1->2->3->4,youshouldreturnthelistas2->1->4->3.SolutionpublicclassSolution
linspiration
·
2016-10-20 00:00
java
链表
linkedlist
Longest Substring Without Repeating Characters
**Examples:**
Given
"abcabcbb",theansweris"abc",whichthelengthis3.
Given
"bbbbb",theansweris"b",withthelengthof1
yixinfeng
·
2016-10-18 16:56
143 Reorder List
Ln,reorderitto:L0→Ln→L1→Ln-1→L2→Ln-2→…Youmustdothisin-placewithoutalteringthenodes'values.Forexample,
Given
Shiyi001
·
2016-10-16 10:02
leetcode Two Sum
returnindicesofthetwonumberssuchthattheyadduptoaspecifictarget.Youmayassumethateachinputwouldhaveexactlyonesolution.Example:
Given
zhenzhuangde
·
2016-10-03 19:04
leetcode
一些题目
[LeetCode]--83. Remove Duplicates from Sorted List
Givenasortedlinkedlist,deleteallduplicatessuchthateachelementappearonlyonce.Forexample,
Given
1->1->2,return1
bug_moving
·
2016-10-03 16:00
LeetCode
链表
去除重复算法
算法链表
去重链表
[LeetCode]3. Longest Substring Without Repeating Characters
LongestSubstringWithoutRepeatingCharactersGivenastring,findthelengthofthelongestsubstringwithoutrepeatingcharacters.Examples:
Given
"abcabcbb
風子余
·
2016-10-01 23:00
Code
Leet
LeetCode
【leetcode】3.Longest Substring Without Repeating Characters
findthelengthofthelongestsubstringwithoutrepeatingcharacters.ExampleGiven"abcabcbb",theansweris"abc",whichthelengthis3.
Given
"bbbb
Lawe
·
2016-09-30 23:34
leetcode题目
214. Shortest Palindrome
youareallowedtoconvertittoapalindromebyaddingcharactersinfrontofit.Findandreturntheshortestpalindromeyoucanfindbyperformingthistransformation.Forexample:
Given
"aacecaaa
codingXue
·
2016-09-30 11:02
Python:函数参数
print(user)print(password)show('csdn','csdn')#少传show('csdn')#报错:TypeError:show()takesexactly2arguments(1
given
cmustard
·
2016-09-29 10:26
python笔记
[LeetCode-Java]3. Longest Substring Without Repeating Characters
Givenastring,findthelengthofthelongestsubstringwithoutrepeatingcharacters.Examples:
Given
“abcabcbb”,theansweris
如故1994
·
2016-09-24 17:56
LeetCode
LeetCode 238. Product of Array Except Self 解题报告
returnanarrayoutputsuchthatoutput[i]isequaltotheproductofalltheelementsofnumsexceptnums[i].示例Forexample,
given
camellhf
·
2016-09-23 15:00
LeetCode
leetcode No42. Trapping Rain Water
Question:
Given
n non-negativeintegersrepresentinganelevationmapwherethewidthofeachbaris1,computehowmuchwateritisabletotrapafterraining.Forexample
u011391629
·
2016-09-21 21:00
LeetCode
Leetcode - Read N Characters
Given
Read4 II - Call multiple times
Mycode:/*Theread4APIisdefinedintheparentclassReader4.intread4(char[]buf);*/publicclassSolutionextendsReader4{Queueq=newLinkedList();/***@parambufDestinationbuffer*@paramnMaximumnumberofcharacterstorea
Richardo92
·
2016-09-21 02:11
Leetcode - Read N Characters
Given
Read4
Mycode:/*Theread4APIisdefinedintheparentclassReader4.intread4(char[]buf);*/publicclassSolutionextendsReader4{/***@parambufDestinationbuffer*@paramnMaximumnumberofcharacterstoread*@returnThenumberofcha
Richardo92
·
2016-09-21 02:35
(SOJ) check if a word is on a
given
Boggle board
该题目的大意是:给定一个4X4的字母表,按照Boggle的原则查找一个字符串是否在字母表中。#include#include#include#include#include#include#include#include#include#include#include#include#include#include#include#includeusingnamespacestd;/*******
huangjw47
·
2016-09-20 22:40
soj
soj
sicily
Boggle
leetcode No41. First Missing Positive
Question:Givenanunsortedintegerarray,findthefirstmissingpositiveinteger.Forexample,
Given
[1,2,0] return
u011391629
·
2016-09-20 21:00
LeetCode
leetcode-003 Longest Substring Without Repeating Characters
P003LongestSubstringWithoutRepeatingCharactersGivenastring,findthelengthofthelongestsubstringwithoutrepeatingcharacters.Examples:
Given
"abcabcbb
hylexus
·
2016-09-16 17:50
【Leetcode】386. Lexicographical Numbers
leetcode.com/problems/lexicographical-numbers/题目:Givenanintegern,return1-ninlexicographicalorder.Forexample,
given
13
yeqiuzs
·
2016-09-15 16:00
LeetCode
leetcode-003 Longest Substring Without Repeating Characters
javapythonP003LongestSubstringWithoutRepeatingCharactersGivenastring,findthelengthofthelongestsubstringwithoutrepeatingcharacters.Examples:
Given
"abc
hylexus
·
2016-09-14 23:00
LeetCode
substring
longest
leetcode Two Sum
returnindicesofthetwonumberssuchthattheyadduptoaspecifictarget.Youmayassumethateachinputwouldhaveexactlyonesolution.Example:
Given
zhenzhuangde
·
2016-09-12 08:19
题目
一些题目
[LeetCode]143. Reorder List
Ln,reorderitto:L0→Ln→L1→Ln-1→L2→Ln-2→…Youmustdothisin-placewithoutalteringthenodes'values.Forexample,
Given
風子余
·
2016-09-10 23:07
LeetCode
LeetCode
leetcode 215. Kth Largest Element in an Array
KthLargestElementinanArrayFindthekthlargestelementinanunsortedarray.Notethatitisthekthlargestelementinthesortedorder,notthekthdistinctelement.Forexample,
Given
charles1e
·
2016-09-08 15:00
LeetCode
[LeetCode]92. Reverse Linked List II
92.ReverseLinkedListIIReversealinkedlistfrompositionmton.Doitin-placeandinone-pass.Forexample:
Given
1-
風子余
·
2016-09-05 21:40
Code
Leet
LeetCode
CodeForces 27E Number With The
Given
Amount Of Divisors【反素数】
E.NumberWithTheGivenAmountOfDivisorstimelimitpertest2secondsmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputGiventhenumbern,findthesmallestpositiveintegerwhichhasexactlyndivisors.I
DTL66
·
2016-09-05 14:15
反素数
LeetCode 41 First Missing Positive(丢失的第一个正数)
原文Givenanunsortedintegerarray,findthefirstmissingpositiveinteger.Forexample,
Given
[1,2,0]return3,and[3,4
NoMasp
·
2016-09-04 23:00
java
LeetCode
array
Missing
41
leetCode No.238 Product of Array Except Self
i]isequaltotheproductofalltheelementsofnumsexceptnums[i].SolveitwithoutdivisionandinO(n).Forexample,
given
Andy_Shan
·
2016-09-01 00:00
LeetCode
leetCode 303. Range Sum Query - Immutable | Dynamic Programming
RangeSumQuery-ImmutableGivenanintegerarraynums,findthesumoftheelementsbetweenindicesiandj(i≤j),inclusive.Example:
Given
313119992
·
2016-08-31 22:35
Programming
Dynamic
leetCode练习
383. Ransom Note [easy] (Python)
题目链接https://leetcode.com/problems/ransom-note/题目原文>
Given
an arbitrary ransom note string and
coder_orz
·
2016-08-31 19:41
LeetCode
LeetCode解题报告
【python学习记录3】Longest Substring Without Repeating Characters
问题描述Givenastring,findthelengthofthelongestsubstringwithoutrepeatingcharacters.Examples:
Given
"abcabcbb
hitsunbo
·
2016-08-30 21:56
[LeetCode]1. Two Sum
returnindicesofthetwonumberssuchthattheyadduptoaspecifictarget.Youmayassumethateachinputwouldhaveexactlyonesolution.Example:
Given
風子余
·
2016-08-24 22:22
LeetCode
LeetCode
214. Shortest Palindrome
youareallowedtoconvertittoapalindromebyaddingcharactersinfrontofit.Findandreturntheshortestpalindromeyoucanfindbyperformingthistransformation.Forexample:
Given
"aacecaaa
hhboboy
·
2016-08-17 21:00
leetCode 179. Largest Number 字符串排序 | Medium | lambda表达式
LargestNumberGivenalistofnonnegativeintegers,arrangethemsuchthattheyformthelargestnumber.Forexample,
given
313119992
·
2016-08-14 17:08
字符串
排序
leetCode练习
leetCode 24. Swap Nodes in Pairs 链表
24.SwapNodesinPairsGivenalinkedlist,swapeverytwoadjacentnodesandreturnitshead.Forexample,
Given
1->2->3
313119992
·
2016-08-12 23:10
链表
leetCode练习
leetCode 19. Remove Nth Node From End of List 链表
RemoveNthNodeFromEndofListGivenalinkedlist,removethenthnodefromtheendoflistandreturnitshead.Forexample,
Given
313119992
·
2016-08-12 14:11
链表
leetCode练习
leetCode 83. Remove Duplicates from Sorted List 链表
RemoveDuplicatesfromSortedListGivenasortedlinkedlist,deleteallduplicatessuchthateachelementappearonlyonce.Forexample,
Given
1
313119992
·
2016-08-12 13:55
链表
leetCode练习
上一页
36
37
38
39
40
41
42
43
下一页
按字母分类:
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
其他