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
Explanation
[LeetCode] 228. Summary Ranges
Givenasortedintegerarraywithoutduplicates,returnthesummaryofitsranges.Example1:Input:[0,1,2,4,5,7]Output:["0->2","4->5","7"]
Explanation
锤子剪子布
·
2020-07-13 08:46
LeetCode
1513. Number of Substrings With Only 1s
Returnthenumberofsubstringswithallcharacters1's.Sincetheanswermaybetoolarge,returnitmodulo10^9+7.Example1:Input:s="0110111"Output:9
Explanation
Schwifty
·
2020-07-13 06:00
1512. Number of Good Pairs
iscalledgoodifnums[i]==nums[j]andi
Explanation
Schwifty
·
2020-07-13 05:00
【LeetCode-java实现】56. Merge Intervals合并区间
mergealloverlappingintervals.Example1:Input:[[1,3],[2,6],[8,10],[15,18]]Output:[[1,6],[8,10],[15,18]]
Explanation
IT Crowd
·
2020-07-13 03:06
LeetCode
0190. Reverse Bits (E)
Reversebitsofagiven32bitsunsignedinteger.Example1:Input:00000010100101000001111010011100Output:00111001011110000010100101000000
Explanation
墨云黑
·
2020-07-13 01:00
lintcode 272. 爬楼梯 II
样例Example1:Input:3Output:4
Explanation
:1+1+1=2+1=1+2=3=3,thereare4ways.Example2:Input:4Output:7
Explanation
Sinb妃
·
2020-07-12 13:28
lintcode
1386. Cinema Seat Allocation
Example1:Input:n=3,reservedSeats=[[1,2],[1,3],[1,8],[2,6],[3,1],[3,10]]Output:4
Explanation
:Thefigureaboves
habibah_chang
·
2020-07-12 13:00
Integer Break 数学/dp
breakitintothesumofatleasttwopositiveintegersandmaximizetheproductofthoseintegers.Returnthemaximumproductyoucanget.Example1:Input:2Output:1
Explanation
Agiz
·
2020-07-11 16:41
Leetcode
数学
动态规划
Python实现"各位相加"的两种方法
给定一个非负整数num,重复累加num中的每一个数字直至结果为个位数Input:38Output:2
Explanation
:Theprocessislike:3+8=11,1+1=2.Since2hasonlyonedigit
求兵
·
2020-07-11 14:37
Algorithms
LeetCode---189. Rotate Array 滚动数组
例如:Input:[1,2,3,4,5,6,7]andk=3Output:[5,6,7,1,2,3,4]
Explanation
:rotate1stepstotheright:[7,1,2,3,4,5,6
hoohaa_
·
2020-07-11 14:50
leetcode-1010. Pairs of Songs With Total Durations Divisible by 60(c语言)
示例Input:[30,20,150,100,40]Output:3
Explanation
:Threepairshaveatotaldurationdivisibleby60:(time[0]=30,
一探究竟
·
2020-07-11 12:18
leetcode
1217. Play with Chips
Example1:Input:chips=[1,2,3]Output:1
Explanation
:Secondchipwillbemovedtopositon3withcost1.Firstchipw
habibah_chang
·
2020-07-11 12:00
[LeetCode] 241. Different Ways to Add Parentheses
returnallpossibleresultsfromcomputingallthedifferentpossiblewaystogroupnumbersandoperators.Thevalidoperatorsare+,-and*.Example1:Input:"2-1-1"Output:[0,2]
Explanation
CNoodle
·
2020-07-11 11:00
[Excerpt and Translation] Detailed
Explanation
to Selective Color of Photoshop
[EnglishTranslation][Excerpt]DetailedExplanationtoSelectiveColorofPhotoshopOriginalPost:http://www.missyuan.com/viewthread.php?tid=63683Chong-ZithinksthatinPhotoshoptheSelectiveColorisaverypowerfultoo
gmbros
·
2020-07-11 06:51
3. Longest Substring Without Repeating Characters
Givenastring,findthelengthofthelongestsubstringwithoutrepeatingcharacters.Example1:Input:“abcabcbb”Output:3
Explanation
fruitful1989
·
2020-07-11 06:44
leetcode
【Leetcode】53. Maximum Subarray
containingatleastonenumber)whichhasthelargestsumandreturnitssum.Example:Input:[-2,1,-3,4,-1,2,1,-5,4],Output:6
Explanation
随时学丫
·
2020-07-11 00:25
leetcode
leetcode
【Leetcode】152. Maximum Product Subarray
findthecontiguoussubarraywithinanarray(containingatleastonenumber)whichhasthelargestproduct.Example1:Input:[2,3,-2,4]Output:6
Explanation
随时学丫
·
2020-07-11 00:25
leetcode
485. Max Consecutive Ones
Givenabinaryarray,findthemaximumnumberofconsecutive1sinthisarray.Example1:Input:[1,1,0,1,1,1]Output:3
Explanation
_SANTU_
·
2020-07-11 00:21
Shortest Unsorted Continuous Subarray
youneedtofindonecontinuoussubarraythatifyouonlysortthissubarrayinascendingorder,thenthewholearraywillbesortedinascendingorder,too.样例Input:[2,6,4,8,10,9,15]Output:5
Explanation
lyoungzzz
·
2020-07-10 18:42
滑动窗口问题归纳
LongestSubstringWithoutRepeatingCharactersGivenastring,findthelengthofthelongestsubstringwithoutrepeatingcharacters.Example1:Input:"abcabcbb"Output:3
Explanation
ycllycll
·
2020-07-10 13:34
数据结构与算法
解释与注意:用于视觉问答的一场获得注意的两人游戏模型《
Explanation
vs Attention: A Two-Player Game to Obtain Attention for VQA》
目录一、文献摘要介绍二、网络框架介绍三、实验分析四、结论这是视觉问答论文阅读的系列笔记之一,本文有点长,请耐心阅读,定会有收货。如有不足,随时欢迎交流和探讨。一、文献摘要介绍Inthispaper,weaimtoobtainimprovedattentionforavisualquestionanswering(VQA)task.Itischallengingtoprovidesupervisio
Tiám青年
·
2020-07-10 12:26
计算机视觉
VQA
637. Average of Levels in Binary Tree
returntheaveragevalueofthenodesoneachlevelintheformofanarray.Example1:Input:3/\920/\157Output:[3,14.5,11]
Explanation
Schwifty
·
2020-07-10 10:00
[leetcode]159. Longest Substring with At Most Two Distinct Characters至多包含两种字符的最长子串...
findthelengthofthelongestsubstringtthatcontainsatmost2distinctcharacters.Example1:Input:"eceba"Output:3
Explanation
weixin_30484739
·
2020-07-10 06:56
Python微信公众号后台开发:自定义菜单
开发文档:https://developers.weixin.qq.com/doc/offiaccount/Getting_Started/
Explanation
_of_inte
Python数据分析实战
·
2020-07-10 03:58
python
Maximum XOR of Two Numbers in an Array
Example:Input:[3,10,5,25,2,8]Output:28
Explanation
:The
想跳舞的兔子
·
2020-07-10 02:50
Leetcode 题解 -- 贪心--分隔字符串使同种字符出现在一起
分隔字符串使同种字符出现在一起763.PartitionLabels(Medium)Input:S="ababcbacadefegdehijhklij"Output:[9,7,8]
Explanation
酷记麻辣油
·
2020-07-10 00:16
leetcode
LeetCode:Longest Substring Without Repeating Characters
Givenastring,findthelengthofthelongestsubstringwithoutrepeatingcharacters.Example1:Input:"abcabcbb"Output:3
Explanation
wuli洛玖
·
2020-07-09 22:45
LeetCode
HashSet初探
Givenastring,findthelengthofthelongestsubstringwithoutrepeatingcharacters.Example1:Input:"abcabcbb"Output:3
Explanation
wuli洛玖
·
2020-07-09 22:45
JAVA基础学习
LeetCode Top Interview Questions 204. Count Primes (Java版; Easy)
CountPrimes(Java版;Easy)题目描述Countthenumberofprimenumberslessthananon-negativenumber,n.Example:Input:10Output:4
Explanation
littlehaes
·
2020-07-09 19:21
LeetCode
Top
Interview
Questions
LeetCode
414. Third Maximum Number
returnthethirdmaximumnumberinthisarray.Ifitdoesnotexist,returnthemaximumnumber.ThetimecomplexitymustbeinO(n).Example1:Input:[3,2,1]Output:1**
Explanation
AlanGuo
·
2020-07-09 16:28
[leetcode] 3. Longest Substring Without Repeating Characters
Givenastring,findthelengthofthelongestsubstringwithoutrepeatingcharacters.Example1:Input:“abcabcbb”Output:3
Explanation
闲庭信步的空间
·
2020-07-09 15:18
Leetcode
贪心专题3 - leetcode763. Partition Labels/605. Can Place Flowers - Mark
例子Input:S=“ababcbacadefegdehijhklij”Output:[9,7,8]
Explanation
:Thepartitionis“ababcbaca”,“defegde”,“hijhklij
libh
·
2020-07-09 12:37
Leetcode
leetcode 600. Non-negative Integers without Consecutive Ones 非负整数不包括连续的1 + DP动态规划
findthenumberofnon-negativeintegerslessthanorequalton,whosebinaryrepresentationsdoNOTcontainconsecutiveones.Example1:Input:5Output:5
Explanation
JackZhangNJU
·
2020-07-09 11:10
DP动态规划
leetcode
For
C++
需要好好想一下的题目
leetcode 440. K-th Smallest in Lexicographical Order 第k个字典序的数字+做不出来
findthelexicographicallyk-thsmallestintegerintherangefrom1ton.Note:1≤k≤n≤109.Example:Input:n:13k:2Output:10
Explanation
JackZhangNJU
·
2020-07-09 11:09
需要好好想一下的题目
leetcode
For
C++
leetcode
For
Java
高性能短链设计-URL Shortener:详细设计说明
https://dzone.com/articles/url-shortener-detailed-
explanation
介绍URL缩短器是一种用于从很长的URL创建短链接的服务。
giserinchina
·
2020-07-09 01:10
分布式架构入门到精通
分布式架构
好文收藏
leetcode题解(三): Longest Substring Without Repeating Characters
难度:Medium题目描述:给定一个字符串,找出最长无重复子字符串(substring)例子:Example1:Input:“abcabcbb”Output:3
Explanation
:Theansweris
山椒鱼666
·
2020-07-08 22:18
leetcode
leetcode
算法设计与分析课作业【week10】leetcode--32. Longest Valid Parentheses
'and')',findthelengthofthelongestvalid(well-formed)parenthesessubstring.Example1:Input:"(()"Output:2
Explanation
二梦、
·
2020-07-08 18:40
算法设计与分析作业
LeetCode—56. Merge Intervals
mergealloverlappingintervals.Example1:Input:[[1,3],[2,6],[8,10],[15,18]]Output:[[1,6],[8,10],[15,18]]
Explanation
萌小熙喵
·
2020-07-08 16:50
Leetcode-W1,2
problems/two-sum-ii-input-array-is-sorted/description/Input:numbers=[2,7,11,15],target=9Output:[1,2]
Explanation
weixin_30653097
·
2020-07-08 14:09
【LeetCode】3. Longest Substring Without Repeating Characters
IntroduceGivenastring,findthelengthofthelongestsubstringwithoutrepeatingcharacters.Example1:Input:"abcabcbb"Output:3
Explanation
roguesir
·
2020-07-08 04:03
python
LeetCode
LeetCode-3. Longest Substring Without Repeating Characters
Givenastring,findthelengthofthelongestsubstringwithoutrepeatingcharacters.Example1:Input:"abcabcbb"Output:3
Explanation
ReignsDu
·
2020-07-08 04:35
LeetCode
LeetCode---Longest Substring Without Repeating Characters
findthelengthofthelongestsubstringwithoutrepeatingcharacters.给定一个字符串,在不重复字符的情况下找出最长子字符串的长度Example1:Input:"abcabcbb"Output:3
Explanation
slbyzdgz
·
2020-07-07 20:55
算法
python
手把手简易实现shellcode及详解
于是学习一把,毕竟C和汇编了解,开阔下视野;转载于:http://blog.nsfocus.net/simple-realization-hand-handle-shellcode-detailed-
explanation
庞叶蒙
·
2020-07-07 18:23
安全
LeetCode C++ 718. Maximum Length of Repeated Subarray【Dynamic Programming】
returnthemaximumlengthofansubarraythatappearsinbotharrays.Example1:Input:A:[1,2,3,2,1]B:[3,2,1,4,7]Output:3
Explanation
myRealization
·
2020-07-07 17:14
LeetCode
动态规划
565. Array Nesting
Example1:Input:A=[5,4,0,3,1,6,2]Output:4
Explanation
:A[0]=5,A[1]=4,A[2]=0,A[3]=3,A[4]=1,A[5]=6,A[6]=2.
DrunkPian0
·
2020-07-07 15:20
设置neo4j 3.0.1 版本开放外网链接权限
dbms.connector.http.listen_address=0.0.0.0:74742)外网连接时要求身份验证,即使输入正确的密码也会报错,解决方法在官网找到了:https://neo4j.com/developer/kb/
explanation
-of-error-websocket
哈喽世界
·
2020-07-07 14:26
neo4j
Maximum Subarray(53) - easy
containingatleastonenumber)whichhasthelargestsumandreturnitssum.Example1:Input:[-2,1,-3,4,-1,2,1,-5,4],Output:6
Explanation
Kelly Fu
·
2020-07-07 12:16
Leetcode
Alorithm
C++
动态规划
1504. Count Submatrices With All Ones
columnsmatrixmatofonesandzeros,returnhowmanysubmatriceshaveallones.Example1:Input:mat=[[1,0,1], [1,1,0], [1,1,0]]Output:13
Explanation
Schwifty
·
2020-07-07 10:00
leetcode 190 颠倒二进制位(Reverse Bits) python 一行代码
Reversebitsofagiven32bitsunsignedinteger.Example1:Input:00000010100101000001111010011100Output:00111001011110000010100101000000
Explanation
每一个有风的日子
·
2020-07-07 10:57
【leetcode】
刷题总结
&
编程心得
【Leetcode-python】3.Longest Substring Without Repeating Characters(最长不重复连续子字符串)
例:Input:"abcabcbb"Output:3
Explanation
:Theansweris"abc",withthelengthof3.Input:"bbbbb"Output:1
Explanation
vita2dolce
·
2020-07-07 09:11
算法
上一页
9
10
11
12
13
14
15
16
下一页
按字母分类:
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
其他