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
5. Longest Palindromic Substring
Givenastrings,returnthelongestpalindromicsubstringins.Example1:Input:s="babad"Output:"bab"
Explanation
lilibaobao89
·
2023-11-07 05:57
前端
服务器
javascript
面试经典150题——Day31
LongestSubstringWithoutRepeatingCharactersGivenastrings,findthelengthofthelongestsubstringwithoutrepeatingcharacters.Example1:Input:s=“abcabcbb”Output:3
Explanation
叶卡捷琳堡
·
2023-11-05 09:16
算法
数据结构
leetcode
c++
面试
Chapter11 Ⅲ~Ⅴ
Words&Expressions1.rakeMissBrentwasrakingoutthestove.
explanation
:tomovearakeacrossasurfaceinordertomakethesoillevel
草叮
·
2023-11-03 11:27
LeetCode 1304. Find N Unique Integers Sum up to Zero 查找N个唯一整数总和为零 (Easy)
Example1:Input:n=5Output:[-7,-1,1,3,4]
Explanation
:Thesearraysalsoareaccepted[-5,-1,1,2,3],
曹老师发生甚么事了
·
2023-11-03 04:13
Leetcode712. 计算两个字符串删除任意字符后使二者相等的最小删除字符和
findthelowestASCIIsumofdeletedcharacterstomaketwostringsequal.Example1:Input:s1=“sea”,s2=“eat”Output:231
Explanation
obrcnh
·
2023-11-02 07:56
leetcode算法
leetcode
Leetcode 719. Find K-th Smallest Pair Distance
returnthek-thsmallestdistanceamongallthepairs.Thedistanceofapair(A,B)isdefinedastheabsolutedifferencebetweenAandB.Example1:Input:nums=[1,3,1]k=1Output:0
Explanation
weixin_34310127
·
2023-11-02 06:08
[LeetCode] 719. Find K-th Smallest Pair Distance 找第K小的数对儿距离
returnthek-thsmallestdistanceamongallthepairs.Thedistanceofapair(A,B)isdefinedastheabsolutedifferencebetweenAandB.Example1:Input:nums=[1,3,1]k=1Output:0
Explanation
weixin_30847939
·
2023-11-02 06:38
数据结构与算法
c/c++
leetcode 719. Find K-th Smallest Pair Distance(找到第k小的距离)
returnthek-thsmallestdistanceamongallthepairs.Thedistanceofapair(A,B)isdefinedastheabsolutedifferencebetweenAandB.Example1:Input:nums=[1,3,1]k=1Output:0
Explanation
蓝羽飞鸟
·
2023-11-02 06:02
leetcode
算法
leetcode
LeetCode 719.Find K-th Smallest Pair Distance
returnthek-thsmallestdistanceamongallthepairs.Thedistanceofapair(A,B)isdefinedastheabsolutedifferencebetweenAandB.Example1:Input:nums=[1,3,1]k=1Output:0
Explanation
hidentity
·
2023-11-02 06:32
LeetCode
LeetCode
hard
【LeetCode 719】 Find K-th Smallest Pair Distance
returnthek-thsmallestdistanceamongallthepairs.Thedistanceofapair(A,B)isdefinedastheabsolutedifferencebetweenAandB.Example1:Input:nums=[1,3,1]k=1Output:0
Explanation
涛涛酱
·
2023-11-02 06:32
LeetCode
二分
leetcode 719. Find K-th Smallest Pair Distance c++
returnthek-thsmallestdistanceamongallthepairs.Thedistanceofapair(A,B)isdefinedastheabsolutedifferencebetweenAandB.Example1:Input:nums=[1,3,1]k=1Output:0
Explanation
景行cmy
·
2023-11-02 06:31
leetcode
leetcode
LeetCode719. Find K-th Smallest Pair Distance (hard)
returnthek-thsmallestdistanceamongallthepairs.Thedistanceofapair(A,B)isdefinedastheabsolutedifferencebetweenAandB.Example1:Input:nums=[1,3,1]k=1Output:0
Explanation
Lollipop66
·
2023-11-02 06:30
575 Distribute Candies 分发糖果问题
example1Input:candies=[1,1,2,2,3,3]Output:3
Explanation
:Therearethreedifferentkindsofcandies(1,2and3),
西八没天台
·
2023-11-02 01:46
get不到的leetcode点
晨间日记|2018年12月24日
学习·信息·阅读收获·思考(300-500字)自我解释(self-
explanation
),指的是学习
香脆酥酥
·
2023-11-01 07:20
【日更 Day25】Leetcode 279
findtheleastnumberofperfectsquarenumbers(forexample,1,4,9,16,...)whichsumton.Example1:Input:n=12Output:3
Explanation
钢笔先生
·
2023-10-31 06:46
Leetcode DP3 最长合法括号
Givenastringcontainingjustthecharacters'('and')',findthelengthofthelongestvalid(well-formed)parenthesessubstring.示例1:Input:"(()"Output:2
Explanation
golfgang
·
2023-10-29 11:10
python leetcode-204 Count Primes 质数计数
count-primes/CountPrimesCountthenumberofprimenumberslessthananon-negativenumber,n.Example:Input:10Output:4
Explanation
sz88888
·
2023-10-27 05:24
LeetCode每日一题——2520. Count the Digits That Divide a Number
returnthenumberofdigitsinnumthatdividenum.Anintegervaldividesnumsifnums%val==0.Example1:Input:num=7Output:1
Explanation
叶卡捷琳堡
·
2023-10-26 18:05
leetcode
算法
数据结构
c++
滑动窗口题目(中等)
Example1:Input:String="araaci",K=2Output:4
Explanation
:Thelongestsubstringwithnomorethan'2'distinctcharacters
The1apy
·
2023-10-26 02:06
数据结构
leetcode
算法
何丹的ScalersTalk第四轮新概念朗读持续力训练Day5320181129
任务配置:L0+L4图片发自App练习感悟:今天新单词较多,新学volt.wires,其中accidently.
explanation
.electric.mystery.cigaratteend.examinded.carelessly.woundround
何丹的小世界
·
2023-10-25 22:15
介绍一个C++中非常有用的设计模式
pImpl设计模式零、前言一、实例介绍二、PImpl2.1.
Explanation
(说明)2.2Trade-offs2.3Compilationfirewall(编译防火墙)2.4Implementation
Planet^沐
·
2023-10-23 07:07
C++
c++
设计模式
开发语言
C46115 Day10 自相矛盾谬误
Thetruthabouthumanknowledgeisknownthroughskepticism.Premise2:Skepticismindicatesthatwecannotknowtrueknowledge.Conclusion:Wemayaswellgiveupthesearch.
Explanation
盛景难言
·
2023-10-18 07:03
动态规划-343. Integer Break
breakitintothesumofatleasttwopositiveintegersandmaximizetheproductofthoseintegers.Returnthemaximumproductyoucanget.Example1:Input:2Output:1
Explanation
kason_zhang
·
2023-10-18 01:28
Which normal form is a table in if it has no multi-valued attributes and no partial
A.secondnormalformB.firstnormalformC.thirdnormalformD.fourthnormalformCorrectAnswer:ASection:(none)
Explanation
无栈程序员
·
2023-10-16 12:13
3. Longest Substring Without Repeating Characters
Givenastring,findthelengthofthelongestsubstringwithoutrepeatingcharacters.Example1:Input:"abcabcbb"Output:3
Explanation
syuhung
·
2023-10-13 18:27
源于Design Pattern
Explanation
with C++ Implementation的 设计模式 C++
1、创建型模式(CreationalPattern)1.1工厂模式(FactoryPattern)1.2抽象工厂模式(AbstractFactoryPattern)1.3单例模式(SingletonPattern)1.4建造者模式(BuilderPattern)1.5原型模式(PrototypePattern)1.6简单工厂模式(SimpleFactoryPattern)2、结构型模式(Struc
yelenn1115
·
2023-10-13 15:44
设计模式
c++
【leetcode3】 3. Longest Substring Without Repeating Characters解题报告
Givenastring,findthelengthofthelongestsubstringwithoutrepeatingcharacters.Example1:Input:"abcabcbb"Output:3
Explanation
进击的码农
·
2023-10-13 10:15
AMQ 5805报错
EXPLANATION
:Channelprogram'313345010019A.5810A'endedabnormally.ACTION:Lookatpreviouserrormessagesforchannelprogram
scan724
·
2023-10-12 09:15
Websphere
Mq
java
大数据
开发语言
面试经典150题——Day6
rotatethearraytotherightbyksteps,wherekisnon-negative.Example1:Input:nums=[1,2,3,4,5,6,7],k=3Output:[5,6,7,1,2,3,4]
Explanation
叶卡捷琳堡
·
2023-10-12 09:10
算法
数据结构
leetcode
c++
leetcode268. Missing Number
Givenanarraynumscontainingndistinctnumbersintherange[0,n],returntheonlynumberintherangethatismissingfromthearray.Example1:Input:nums=[3,0,1]Output:2
Explanation
叶卡捷琳堡
·
2023-10-12 07:08
算法
数据结构
leetcode
c++
碰撞检测之分离轴定理算法
/blog.csdn.net/yorhomwang/article/details/54869018,感谢博主分享本文翻译自@sevenson的文章SeparatingAxisTheorem(SAT)
Explanation
&动感超人
·
2023-10-11 19:42
Unreal
3D数学基础
LeetCode 1486. XOR Operation in an Array
-indexed)andn==nums.length.ReturnthebitwiseXORofallelementsofnums.Example1:Input:n=5,start=0Output:8
Explanation
cb_guo
·
2023-10-11 07:21
228. Summary Ranges 汇总区间
Givenasortedintegerarraywithoutduplicates,returnthesummaryofitsranges.Example1:Input:[0,1,2,4,5,7]Output:["0->2","4->5","7"]
Explanation
xingzai
·
2023-10-07 23:58
435. Non-overlapping Intervals (Medium)-不重叠的区间个数
不重叠的区间个数Input:[[1,2],[1,2],[1,2]]Output:2
Explanation
:Youneedtoremovetwo[1,2]tomaketherestofintervalsnon-overlapping.Input
技术灭霸
·
2023-10-02 09:56
LeetCode解析(三): Longest Substring Without Repeating Characters
Givenastring,findthelengthofthelongestsubstringwithoutrepeatingcharacters.Example:Input:"abcabcbb"Output:3
Explanation
Wingbu
·
2023-10-01 09:16
leetcode刷题笔记--3. Longest Substring Without Repeating Characters
LongestSubstringWithoutRepeatingCharactersGivenastring,findthelengthofthelongestsubstringwithoutrepeatingcharacters.Example1:Input:"abcabcbb"Output:3
Explanation
煮酒_zzh
·
2023-09-30 06:55
默默背单词-201
2.anticipate:[ænˈtɪsɪpeɪt]v.预料,预期;预见,预计(并做准备);期盼,期望;先于……做,早于……行动;在期限内履行(义务),偿还(债务);提前使用3.
explanation
:
ss的专属赫兹
·
2023-09-30 05:19
leetcode - 42. Trapping Rain Water
DescriptionGivennnon-negativeintegersrepresentinganelevationmapwherethewidthofeachbaris1,computehowmuchwateritcantrapafterraining.Example1:Input:height=[0,1,0,2,1,0,1,3,2,1,2,1]Output:6
Explanation
KpLn_HJL
·
2023-09-26 17:33
OJ题目记录
leetcode
算法
职场和发展
32. Longest Valid Parentheses(week11)
'and')',findthelengthofthelongestvalid(well-formed)parenthesessubstring.Example1:Input:"(()"Output:2
Explanation
piubiupiu
·
2023-09-25 22:45
leetcode3
LongestSubstringWithoutRepeatingCharactersGivenastring,findthelengthofthelongestsubstringwithoutrepeatingcharacters.Example1:Input:"abcabcbb"Output:3
Explanation
小烈yhl
·
2023-09-24 05:28
aix360-gec
目录分组条件期望(GroupedCE)解释程序创建虚拟环境导包加载数据集训练模型计算独立条件期望ICEplot_ice_
explanation
计算分组条件期望(GCE)plot_gce_
explanation
蓝净云
·
2023-09-23 19:28
aix360
python
机器学习
模型可解释性
GEC
Add Two numbers-Leetcode Day 2
例如:Input:(2->4->3)+(5->6->4)Output:7->0->8
Explanation
:342+465=807.2.解答2.1自己的答案2.1.1思路最原始的思路,模拟,首先将两个链表所表示的数字转换为
码力平平菜鸡熊
·
2023-09-22 11:43
Maximum Subarray
containingatleastonenumber)whichhasthelargestsumandreturnitssum.Example:Input:[-2,1,-3,4,-1,2,1,-5,4],Output:6
Explanation
小明今晚加班
·
2023-09-18 22:07
13. Roman to Integer
Input:"III"Output:3Example2:Input:"IV"Output:4Example3:Input:"IX"Output:9Example4:Input:"LVIII"Output:58
Explanation
AThornBird
·
2023-09-18 07:00
LeetCode 1588. Sum of All Odd Length Subarrays
returnthesumofallpossibleodd-lengthsubarraysofarr.Asubarrayisacontiguoussubsequenceofthearray.Example1:Input:arr=[1,4,2,5,3]Output:58
Explanation
wenyq7
·
2023-09-16 05:22
leetcode
[LeetCode 189] Rotate Array (Easy)
rotatethearraytotherightbyksteps,wherekisnon-negative.Example1:Input:[1,2,3,4,5,6,7]andk=3Output:[5,6,7,1,2,3,4]
Explanation
灰睛眼蓝
·
2023-09-15 15:40
Leetcode 1004. Max Consecutive Ones III 滑动窗口经典题
returnthemaximumnumberofconsecutive1’sinthearrayifyoucanflipatmostk0’s.Example1:Input:nums=[1,1,1,0,0,0,1,1,1,1,0],k=2Output:6
Explanation
纸上得来终觉浅 绝知此事要躬行
·
2023-09-14 22:38
leetcode
算法
数据结构
【Leetcode】738. Monotone Increasing Digits
https://leetcode.com/problems/monotone-increasing-digits/discuss/109794/Simple-Python-solution-w-
Explanation
1
云端漫步_b5aa
·
2023-09-13 01:11
检测电脑接口是否为usb3.0--查看USB接口的传输协议
概述先看看USB的传输协议:来源:https://www.bybusa.com/community/usb-interface-detailed-
explanation
前端时间一直烦恼怎么检测自己笔记本的
谁月
·
2023-09-11 01:45
usb
信息传输
接口
leetcode(3):Longest Substring Without Repeating Characters(defect)
Givenastring,findthelengthofthelongestsubstringwithoutrepeatingcharacters.Example1:Input:"abcabcbb"Output:3
Explanation
李子悟
·
2023-09-08 02:50
上一页
1
2
3
4
5
6
7
8
下一页
按字母分类:
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
其他