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
problems
LeetCode·904.水果成篮·滑动窗口
链接:https://leetcode.cn/
problems
/fruit-into-baskets/solution/hd-by-xun-ge-v-nyer/来源:力扣(LeetCode)著作权归作者所有
迅~
·
2023-10-21 21:03
LeetCode刷题笔记
leetcode
算法
职场和发展
LeetCode·每日一题·904.水果成篮·滑动窗口
链接:https://leetcode.cn/
problems
/fruit-into-baskets/solutions/1739405/hd-by-xun-ge-v-nyer/来源:力扣(LeetCode
迅~
·
2023-10-21 21:03
LeetCode刷题笔记
leetcode
算法
职场和发展
LeetCode-153-寻找旋转排序数组中的最小值
示例1:输入:nums=[3,4,5,1,2]输出:1示例2:输入:nums=[4,5,6,7,0,1,2]输出:0来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
刻苦驴哝
·
2023-10-21 21:14
力扣刷题:合并两个有序链表
示例:输入:1->2->4,1->3->4输出:1->1->2->3->4->4来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
/merge-two-sorted-lists
qqinghuo
·
2023-10-21 19:27
数据结构与算法
链表
leetcode
算法
数据结构
Two Sum最优解法
链接:https://leetcode.com/
problems
/two-sum思路:建立一个哈希表存放所有数字,迭代访问所有数字,每次都尝试取出另一个数字的位置,如果成功返回这两个数字位置,否则将数字的位置存到哈希表
LonnieQ
·
2023-10-21 18:42
LeetCode64. 最小路径和
来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
/minimum-path-sum思路分析:
码农在途
·
2023-10-21 18:41
LeetCode
LeetCode
LeetCode刷题实战344:反转字符串
今天和大家聊的问题叫做反转字符串,我们先来看题面:https://leetcode-cn.com/
problems
/reverse-string/Writeafunctionthatreversesastring
程序IT圈
·
2023-10-21 16:56
算法
leetcode
isp
监督学习
nvidia
LeetCode刷题实战345:反转字符串中的元音字母
今天和大家聊的问题叫做反转字符串中的元音字母,我们先来看题面:https://leetcode-cn.com/
problems
/reverse-vowels-of-a-string/Givenastrings
程序IT圈
·
2023-10-21 16:56
指针
字符串
toolbar
isp
leetcode
LeetCode 2316. 统计无向图中无法互相到达点对数::广度优先搜索(BFS)
【LetMeFly】2316.统计无向图中无法互相到达点对数:广度优先搜索(BFS)力扣题目链接:https://leetcode.cn/
problems
/count-unreachable-pairs-of-nodes-in-an-undirected-graph
Tisfy
·
2023-10-21 16:19
题解
#
力扣LeetCode
leetcode
宽度优先
算法
题解
图
LeetCode 344. 反转字符串
题目:https://leetcode-cn.com/
problems
/reverse-string/题解:双指针法。
PZHU_CG_csdn
·
2023-10-21 15:48
LeetCode
LeetCode
翻转字符串
LeetCode 344 反转字符串 -- 双指针法
来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
/reverse-string编写一个函数,其作用是将输入的字符串反转过来。
大家好我是Boger
·
2023-10-21 15:48
LeetCode刷题笔记
#
字符串类题目
leetcode
散列表
算法
LeetCode_344_反转字符串
题目链接https://leetcode-cn.com/
problems
/reverse-string/解题思路双指针法一个指针记录当前元素的下标一个指针记录当前元素对应的倒数元素的下标因为一直数组长度
Fitz1318
·
2023-10-21 15:47
LeetCode学习之路
leetcode
字符串
leetcode刷题:二叉树05(翻转二叉树)
ClassNameInvertTree*@DescriotionTODO*@Authornitaotao*@Date2022/7/312:57*@Version1.0*https://leetcode.cn/
problems
涛涛英语学不进去
·
2023-10-21 15:51
二叉树
算法
java
leetcode
算法
java
LeetCode刷题实战545:二叉树的边界
今天和大家聊的问题叫做二叉树的边界,我们先来看题面:https://leetcode-cn.com/
problems
/boundary-of-binary-tree/Givenabinarytree,returnt
程序IT圈
·
2023-10-21 15:48
算法
二叉树
java
leetcode
数据结构
每日一练_77 (2021.8.20) N皇后。
推荐一个详解:作者:carlsun-2链接:https://leetcode-cn.com/
problems
/n-queens/solution/dai-ma-sui-xiang-lu-51-n-queenshui-su-fa
是壮壮没错了丶
·
2023-10-21 15:12
个人笔记本
菜鸟的每天一练。
java
【每日一题】【回溯backtrace】N皇后
来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
/n-queens著作权归领扣网络所有。商业转载请联系官方授权,非商
哥们要飞
·
2023-10-21 15:09
算法
java
开发语言
【LeetCode】212. Word Search II 单词搜索 II(Hard)(JAVA)
【LeetCode】212.WordSearchII单词搜索II(Hard)(JAVA)题目地址:https://leetcode.com/
problems
/word-search-ii/题目描述:Givenanmxnboardofcharactersandalistofstringswords
吴中乐
·
2023-10-21 13:29
Leetcode
字符串
leetcode
java
数据结构
面试
【LeetCode】 140. Word Break II 单词拆分 II(Hard)(JAVA)每日一题
【LeetCode】140.WordBreakII单词拆分II(Hard)(JAVA)题目地址:https://leetcode.com/
problems
/word-break-ii/题目描述:Givenanon-emptystringsandadictionarywordDictcontainingalistofnon-emptywords
吴中乐
·
2023-10-21 13:29
Leetcode
字符串
leetcode
java
算法
面试
【LeetCode】 126. Word Ladder II 单词接龙 II(Hard)(JAVA)
【LeetCode】126.WordLadderII单词接龙II(Hard)(JAVA)题目地址:https://leetcode.com/
problems
/word-ladder-ii/题目描述:Giventwowords
吴中乐
·
2023-10-21 13:29
Leetcode
leetcode
java
算法
数据结构
面试
LeetCode 212. Word Search II(dfs + 字典树)
题目来源:https://leetcode.com/
problems
/word-search-ii/问题描述212.WordSearchIIHardGivena2Dboardandalistofwordsfromthedictionary
da_kao_la
·
2023-10-21 13:27
LeetCode
LeetCode
Hard
Java
dfs
字典树
LeetCode-049-字母异位词分组
来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
/group-anagrams/著作权归领扣网络所有。商业转载请联系官方授权,非商业转载请注明出处。
雄狮虎豹
·
2023-10-21 12:43
LeetCode-个人题解
hash
java
leetcode
算法
代码随想录算法训练营第二十九天|回溯算法part 5
来源:力扣(LeetCode)链接:https://leetcode.cn/
problems
/non-decreasing-subsequences著作权归领扣网络所有。商业转载请联系
RicardoLee7
·
2023-10-21 09:40
算法
leetcode
数据结构
LeetCode每日一题5月11日 LeetCode50.Pow(x, n)
来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
/powx-n示例1:输入:2.00000,10输出:1024.00000示例2:输入:2.00000,10
青日五月
·
2023-10-21 09:00
LeetCode刷题记录
leetcode
算法
力扣 51. N 皇后
题目来源:https://leetcode.cn/
problems
/n-queens/description/C++题解1:回溯法。
江湖人称贺行风
·
2023-10-21 09:27
开始C++吧
leetcode
算法
c++
回溯算法
力扣-51题 N皇后(C++)- 回溯
题目链接:https://leetcode-cn.com/
problems
/n-queens/题目如下:classSolution{public:vector>solveNQueens(intn){vectorboard
JIngles123
·
2023-10-21 09:24
#
困难题
leetcode
c++
算法
力扣:51. N皇后
来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
/n-queens1、思路暴力求解,回溯剪枝。穷举
meraki
·
2023-10-21 09:22
算法
leetcode
算法
c++
【MAC 上学习 C++】Day 26-1. 实验1-6 输出带框文字 (5 分)
实验1-6输出带框文字(5分)1.题目摘自https://pintia.cn/problem-sets/13/
problems
/2562.题目内容本题要求编写程序,输出指定的带框文字。
RaRasa
·
2023-10-21 07:36
Leetcode Weekly Contest 109
933.NumberofRecentCallshttps://leetcode.com/
problems
/number-of-recent-calls/description/这道题,维护一个队列,每当一个新的时间进来
西部小笼包
·
2023-10-21 04:05
LeetCode·3.无重复字符的最长子串·滑动窗口
链接:https://leetcode.cn/
problems
/longest-substring-without-repeating-characters/solution/by-xun-ge-v-boaa
迅~
·
2023-10-21 03:15
LeetCode刷题笔记
leetcode
算法
职场和发展
2022-02-21跟着书本学带娃No.10《如何培养孩子的社会能力》
即ICPS------我能解决问题(Ican
problems
olve)。那为何作者会写这样一本书,又提出这样一套ICPS的技巧?
蜗牛妈妈跟着书本学带娃
·
2023-10-21 03:26
实时定位系统 RTLS 解决现实世界25种问题
25WaysReal-TimeLocationSystems(RTLS)SolveReal-World
Problems
实时定位系统(RTLS)可以改变我们理解周围世界的方式。
巨视安防
·
2023-10-21 03:34
人工智能
网络
数据结构
大数据
物联网
动态十二:组合总和 Ⅳ
题目地址:https://leetcode-cn.com/
problems
/combination-sum-iv/题目描述:给定一个由正整数组成且不存在重复数字的数组,找出和为给定目标正整数的组合的个数
程一刀
·
2023-10-21 01:28
How to connect VSCode to Ubuntu (including detailed debugging for some incorrect default config)
tableofcontentsstep-by-stepguideCommon
problems
UnabletoconnecttoUbuntu,resultinginnopasswordpromptPasswordiscorrectbutpermissionisdeniedSettingapasswordinUbuntustep-by-stepguideStep1
MikingG
·
2023-10-21 01:07
编译原理笔记
vscode
ubuntu
2019-07-28
WhenusingourAPP,ifyouencounterany
problems
,youcanleaveamessagedirectlybeloworcontactusbyphoneoremail.Contactnumber
大菠萝98123
·
2023-10-20 23:45
[CodeForces620E] New Year Tree
原题网址:http://codeforces.com/
problems
et/problem/620/E啊,从这篇博客开始我就不复制题目了,毕竟大家点进来都是为了我的AC代码。
溡沭
·
2023-10-20 21:58
解题报告
LeetCode每日一题,整数转罗马数字
题目整数转罗马数字https://leetcode-cn.com/
problems
/integer-to-roman/公众号《java编程手记》记录JAVA学习日常,分享学习路上点点滴滴,从入门到放弃,
JAVA编程手记
·
2023-10-20 21:54
代码随想录刷题|LeetCode 647. 回文子串 516.最长回文子序列
目录647.回文子串思路回文子串516.最长回文子序列思路最长回文子序列647.回文子串题目链接:https://leetcode.cn/
problems
/palindromic-substrings/
symdunstaz
·
2023-10-20 19:30
LeetCode学习笔记
算法
leetcode
动态规划
java
LeetCode 387. 字符串中的第一个唯一字符 | Python
387.字符串中的第一个唯一字符题目来源:力扣(LeetCode)https://leetcode-cn.com/
problems
/first-unique-character-in-a-string/
"大梦三千秋
·
2023-10-20 18:52
LeetCode
leetcode
python
哈希表
字符串中的第一个唯一字符
Leetcode387.字符串中的第一个唯一字符
示例:s=“leetcode”返回0s=“loveleetcode”返回2来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
/first-unique-character-in-a-string
不愿将就.
·
2023-10-20 17:44
leetcode
字符串
LeetCode 387.字符串中的第一个唯一字符 C++
来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
/first-unique-character-in-a-string解题思路用哈希表来解ke
Yfzm_c
·
2023-10-20 17:33
LeetCode刷题
leetcode
c++
算法
哈希表
字符串
AppStore技术支持网站
邮箱地址:
[email protected]
谢谢DearuserIfyouencounterany
problems
whenusingourproducts,pleasefeelfreetocontactus
符石远征军
·
2023-10-20 12:56
13. Roman to Integer
题目地址:https://leetcode.com/
problems
/roman-to-integer/思路:从左到右遍历,把当前字符对应数字累加到结果中,如果当前数比上一个数大,则需要减去上一个数的2
wangdsh
·
2023-10-20 11:15
用队列实现栈
题目地址:https://leetcode-cn.com/
problems
/implement-stack-using-queues/题目:使用队列实现栈的下列操作:push(x)--元素x入栈pop(
琉璃_233a
·
2023-10-20 11:36
Leetcode37. 解数独
题目传送地址:https://leetcode.cn/
problems
/sudoku-solver/好开心,这道题解出来了代码如下:publicstaticvoidsolveSudoku(char[][
Java全栈研发大联盟
·
2023-10-20 10:03
数据结构和算法
java
算法
开发语言
leetcode刷题详解——Add Two Numbers(02)
题目地址:https://leetcode.com/
problems
/add-two-numbers/#/descriptionYouaregiventwonon-emptylinkedlistsrepresentingtwonon-negativeintegers.Thedigitsarestoredinreverseorderandeachoftheirnodescontainasingled
hadoove
·
2023-10-20 09:33
leetcode
Technical Support
Thisgamefocusesonthebestgames,ifyouencounterany
problems
inthegame,pleasecontactusintime.Email:vgvsvgkmnkn315
破鞋漏脚尖
·
2023-10-20 08:42
洗牌算法java 剑指_GitHub - caipengbo/LeetCode: Algorithms Exercise: LeetCode
Problems
, LeetCode Weekly Con.
LeetCode总结所有的题目总结均在每一个package的README中目录搜索(回溯、BFS、DFS):回溯:数独、N皇后、37、51、79、93、[212、301]BFS:矩阵、单词变换排列、组合、分割、子集:四大类问题,常用回溯、DFS解决图的搜索:DFS、BFS、并查集、Flood并查集(TODO)二分查找:g函数,利用边界Kth问题旋转数组双指针:左右指针:数组(或字符串)问题,二分查
weixin_39717598
·
2023-10-20 08:48
洗牌算法java
剑指
有不含有重复数字的数组构造二叉树_GitHub - Baoyubushiyu/LeetCode: Algorithms Exercise: LeetCode
Problems
, LeetCode We.
LeetCode总结所有的题目总结均在每一个package的README中目录搜索(回溯、BFS、DFS):回溯:数独、N皇后、37、51、79、93、[212、301]BFS:矩阵、单词变换排列、组合、分割、子集:四大类问题,常用回溯、DFS解决图的搜索:DFS、BFS、并查集、Flood并查集(TODO)二分查找:g函数,利用边界Kth问题旋转数组双指针:左右指针:数组(或字符串)问题,二分查
唔 姆
·
2023-10-20 08:48
有不含有重复数字的数组构造二叉树_LeetCode: Algorithms Exercise: LeetCode
Problems
, LeetCode Weekly Contest etc....
LeetCode总结所有的题目总结均在每一个package的README中目录搜索(回溯、BFS、DFS):回溯:数独、N皇后、37、51、79、93、[212、301]BFS:矩阵、单词变换排列、组合、分割、子集:四大类问题,常用回溯、DFS解决图的搜索:DFS、BFS、并查集、Flood并查集(TODO)二分查找:g函数,利用边界Kth问题旋转数组双指针:左右指针:数组(或字符串)问题,二分查
欧明新
·
2023-10-20 08:47
leetcode 11. 盛最多水的容器
题目传送门链接:https://leetcode-cn.com/
problems
/container-with-most-water/题干题解之前做过类似的题目,是用单调栈来解决的,后来看到题解,发现是有更简单的双指针做法
默_silence
·
2023-10-20 08:03
#
leetcode
leetcode
双指针
上一页
57
58
59
60
61
62
63
64
下一页
按字母分类:
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
其他