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
面试题57 - II. 和为s的连续正数序列
原题https://leetcode-cn.com/
problems
/he-wei-sde-lian-xu-zheng-shu-xu-lie-lcof/解题思路滑动窗口,left、right分别表示当前窗口的左右边界
最尾一名
·
2024-01-05 05:52
88. 合并两个有序数组
来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
/merge-sorted-array著作权归
滨岩
·
2024-01-05 05:24
CentOS7-Mysql5.7配置(二)
2.10.2StartingtheServer2.10.2.1Troubleshooting
Problems
StartingtheMySQLServerThissectiondescribeshowstarttheserveronUnixandUnix-likesystems
Morphing0527
·
2024-01-05 02:22
LeetCode 2487. 从链表中移除节点:单调栈
【LetMeFly】2487.从链表中移除节点:单调栈力扣题目链接:https://leetcode.cn/
problems
/remove-nodes-from-linked-list/给你一个链表的头节点
Tisfy
·
2024-01-05 02:07
题解
#
力扣LeetCode
leetcode
链表
算法
题解
单调栈
Leetcode--160--相交链表【链表、栈、双指针法】
萌新记录~多多指教链接:https://leetcode-cn.com/
problems
/intersection-of-two-linked-lists/solution/xiang-jiao-lian-biao-by-leetcode
Paris_郑丹丹
·
2024-01-04 23:09
数据结构与算法
链表
leetcode
数据结构
leetcode2397. 被列覆盖的最多行数
目录题目思路解题方法题目https://leetcode.cn/
problems
/maximum-rows-covered-by-columns/description/给你一个下标从0开始、大小为mxn
晓宜
·
2024-01-04 23:25
算法
算法
Wise way of dealing with
problems
解决问题的智慧方式
Wisewayofdealingwith
problems
Howtohandlelife’s
problems
GurudevSriSriRaviShankarSpiritualLeader|Humanitarian
Amiya悦艺行
·
2024-01-04 21:12
代码随想录算法训练营第四十八天|198.打家劫舍、213.打家劫舍II、337.打家劫舍III
%E6%89%93%E5%AE%B6%E5%8A%AB%E8%88%8D.html题目链接:https://leetcode.cn/
problems
/house-robber/视频讲解:https://
老程序员学习算法
·
2024-01-04 17:57
算法
20240104 SQL基础50题打卡
20240104SQL基础50题打卡文章目录20240104SQL基础50题打卡[619.只出现一次的最大数字](https://leetcode.cn/
problems
/biggest-single-number
xwhking
·
2024-01-04 16:51
SQL基础50题
sql
数据库
力扣每日一题:740.删除并获得点数 python动态规划详解!
740.删除并获得点数https://leetcode-cn.com/
problems
/delete-and-earn/难度:中等题目:给你一个整数数组nums,你可以对它进行一些操作。
清风Python
·
2024-01-04 09:37
LeedCode全排列Ⅱ——剪枝回溯
示例:输入:[1,1,2]输出:[[1,1,2],[1,2,1],[2,1,1]]来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
/permutations-ii
zuki_75b3
·
2024-01-04 09:17
242. Valid Anagram
https://leetcode.com/
problems
/valid-anagram/description/解题思路:把s的数量映射到nums[],然后减去t相应的数量代码:classSolution
becauseyou_90cd
·
2024-01-04 05:06
277. Find the Celebrity
https://leetcode.com/
problems
/find-the-celebrity/description/image.pngTARGET不认识任何人,别人都认识他。
西部小笼包
·
2024-01-04 03:36
【LeetCode每日一题】1599. 经营摩天轮的最大利润(模拟)—2024新年快乐!
2024-1-1文章目录[1599.经营摩天轮的最大利润](https://leetcode.cn/
problems
/maximum-profit-of-operating-a-centennial-wheel
翁佳明
·
2024-01-03 21:05
LeetCode
leetcode
算法
职场和发展
【LeetCode每日一题】466. 统计重复个数
2024-1-2文章目录[466.统计重复个数](https://leetcode.cn/
problems
/count-the-repetitions/)思路:466.统计重复个数思路:s1表示要重复的序列
翁佳明
·
2024-01-03 21:05
LeetCode
leetcode
算法
【LeetCode刷题笔记】206. 反转链表:给你单链表的头节点 head ,请你反转链表,并返回反转后的链表。
https://leetcode.cn/
problems
/reverse-linked-list/示例:输入:head=[1,2,3,4,5]输出:[5,4,3,2,1]方法一:双指针迭代代码示例:/*
️山鸟与鱼不同路️
·
2024-01-03 21:04
Leetcode刷题笔记
链表
leetcode
数据结构
【LeetCode每日一题】2487. 从链表中移除节点(调用栈+递归+翻转链表)
2024-1-3文章目录[2487.从链表中移除节点](https://leetcode.cn/
problems
/remove-nodes-from-linked-list/)方法一:调用栈方法二:递归方法三
翁佳明
·
2024-01-03 21:33
LeetCode
leetcode
链表
算法
力扣题解-104. 二叉树的最大深度
来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
/maximum-depth-of-bi
lppamber
·
2024-01-03 17:13
Binary
Tree
二叉树
算法
分治算法
leetcode算法题--盛最多水的容器
原题链接:https://leetcode-cn.com/
problems
/container-with-most-water/双指针classSolution{public:intmaxArea(vector
bob62856
·
2024-01-03 17:01
Algorithm
leetcode
算法
容器
54. 螺旋矩阵
https://leetcode.cn/
problems
/spiral-matrix/description/给你一个m行n列的矩阵matrix,请按照顺时针螺旋顺序,返回矩阵中的所有元素。
jingxindeyi
·
2024-01-03 11:12
矩阵
java
leetcode
LeetCode76. 最小覆盖子串
链接:https://leetcode-cn.com/
problems
/minimum-window-substring/难度:困难描述:给你一个字符串s、一个字符串t。
deeplucky_
·
2024-01-03 06:25
LeetCode
leetcode
c++
leetcode:240.搜索二维矩阵 II
240.搜索二维矩阵II来源:力扣(LeetCode)链接:https://leetcode.cn/
problems
/search-a-2d-matrix-ii/编写一个高效的算法来搜索mxn矩阵matrix
uncle_ll
·
2024-01-03 04:23
编程练习-Leetcode
leetcode
矩阵
算法训练
二分查找
z字形查找
LeetCode-107-二叉树的层序遍历 II
来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
/binary-tree-level-order-traversal-ii/著作权归领扣网络所有。
雄狮虎豹
·
2024-01-03 04:27
Remove Nth Node From End of List
https://leetcode.com/
problems
/remove-nth-node-from-end-of-list/仅仅想记录一下两个case[1,2]n=2的情况[1]n=1的情况怎么解决用的是这段代码
瞬铭
·
2024-01-03 03:43
动态二:爬楼梯
题目地址:https://leetcode-cn.com/
problems
/climbing-stairs/题目描述:假设你正在爬楼梯。需要n阶你才能到达楼顶。每次你可以爬1或2个台阶。
程一刀
·
2024-01-03 02:00
46. 全排列(中等)(LCR 083)
https://leetcode.cn/
problems
/permutations/给定一个不含重复数字的数组nums,返回其所有可能的全排列。你可以按任意顺序返回答案。
Rock在学习
·
2024-01-02 22:21
回溯与子集组合排列切割
python
数据结构
算法
leetcode
698. 划分为k个相等的子集(中等)
https://leetcode.cn/
problems
/partition-to-k-equal-sum-subsets/给定一个整数数组nums和一个正整数k,找出是否有可能把这个数组分成k个非空子集
Rock在学习
·
2024-01-02 22:51
回溯与子集组合排列切割
python
数据结构
算法
leetcode
77. 组合(中等)
https://leetcode.cn/
problems
/combinations/给定两个整数n和k,返回范围[1,n]中所有可能的k个数的组合。你可以按任何顺序返回答案。
Rock在学习
·
2024-01-02 22:50
回溯与子集组合排列切割
数据结构
算法
leetcode
python
216. 组合总和 III(中等)
https://leetcode.cn/
problems
/combination-sum-iii/找出所有相加之和为n的k个数的组合,且满足下列条件:只使用数字1到9每个数字最多使用一次返回所有可能的有效组合的列表
Rock在学习
·
2024-01-02 22:50
回溯与子集组合排列切割
python
数据结构
leetcode
算法
491. 非递减子序列(中等)
https://leetcode.cn/
problems
/non-decreasing-subsequences/给你一个整数数组nums,找出并返回所有该数组中不同的递增子序列,递增子序列中至少有两个元素
Rock在学习
·
2024-01-02 22:50
回溯与子集组合排列切割
python
数据结构
算法
leetcode
LeetCode 684 冗余连接
1.题目https://leetcode-cn.com/
problems
/redundant-connection/2.题解这道题的实质就是让我们把N个节点带环的无向图通过去掉一个边的方法变成N个节点的树
风卷晨沙
·
2024-01-02 20:24
LeetCode 64. 最小路径和 | Python
64.最小路径和题目来源:力扣(LeetCode)https://leetcode-cn.com/
problems
/minimum-path-sum题目给定一个包含非负整数的mxn网格,请找出一条从左上角到右下角的路径
大梦三千秋
·
2024-01-02 19:49
【算法提升—力扣每日一刷】五日总结【12/25--12/29】
每五日一总结【12/25--12/29】2023/12/25今日数据结构:双锁实现阻塞队列2023/12/26每日力扣:[215.数组中的第K个最大元素(堆实现)](https://leetcode.cn/
problems
OldGj_
·
2024-01-02 16:55
力扣!
算法
leetcode
职场和发展
动态十:一和零
题目地址:https://leetcode-cn.com/
problems
/ones-and-zeroes/题目描述:给你一个二进制字符串数组strs和两个整数m和n。
程一刀
·
2024-01-02 12:36
反转链表
题目来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
/reverse-linked-list反转一个单链表。
二进制的二哈
·
2024-01-02 10:34
力扣T704二分查找 T27移出元素
代码随想录训练营第二期第一天T704二分查找T27移出元素题目链接:https://leetcode.cn/
problems
/binary-search/https://leetcode.cn/
problems
学姐抱抱.
·
2024-01-02 07:27
leetcode
剑指 Offer II 085. 生成匹配的括号
地址:https://leetcode.cn/
problems
/IDBivT/题目描述:代码:classSolution{publicListgenerateParenthesis(intn){dfs(
学姐抱抱.
·
2024-01-02 07:26
算法
深度优先
leetcode
算法
024,Swap Nodes in Pairs
https://leetcode.com/
problems
/swap-nodes-in-pairs/discuss/11030/My-accepted-java-code.
丹之
·
2024-01-02 06:16
K-th Symbol in Grammar——LeetCode进阶路
原题链接https://leetcode.com/
problems
/k-th-symbol-in-grammar/题目描述Onthefirstrow,wewritea0.Nowineverysubsequentrow
Moliay
·
2024-01-02 04:49
java
算法
2022-06-07
[
Problems
]听力还存在较大困难。[Suggestions]:课后多练习听力,多练习口语能力。
安彩霞
·
2024-01-02 04:25
代码随想录训练营第51天 | 309.最佳买卖股票时机含冷冻期 ● 714.买卖股票的最佳时机含手续费
309.最佳买卖股票时机含冷冻期题目链接:https://leetcode.com/
problems
/best-time-to-buy-and-sell-stock-with-cooldown解法:这道题的状态同样是持有股票和不持有股票
Jack199274
·
2024-01-02 02:35
数据结构和算法
算法
数据结构
2022-12-11
[
Problems
]听力仍然有问题,对英语的学习时间相较减少了。[Suggestions]1、继续练习英语听力2、课后多做练习题3、练习自己的口语能力,为以后的学习打下坚实的基础。
安彩霞
·
2024-01-02 01:15
leetcode--206--反转链表
链接:https://leetcode-cn.com/
problems
/reverse-linked-list思路:1、尾递归。
minningl
·
2024-01-02 01:12
2023-03-05力扣每日一题
链接:https://leetcode.cn/
problems
/triples-with-bitwise-and-equal-to-zero/题意:模拟一个摩天轮,四个舱,每个舱最多四人,给一个数组,表示摩天轮每切换一次座舱会来多少人排队
Qian丶Xi
·
2024-01-02 00:45
力扣每日一题
leetcode
每日一题
leetcode(力扣)上如何自己构造二叉树输入用例?(python写法)
我们还是拿一道题来说说:leetcode第515题:https://leetcode-cn.com/
problems
/find-largest-value-in-each-tree-row/1、题目
Ma Sizhou
·
2024-01-01 23:39
力扣-leetcode算法题
算法比赛
leetcode
算法
数据结构
LeetCode 257. 二叉树的所有路径 | Python
257.二叉树的所有路径题目来源:力扣(LeetCode)https://leetcode-cn.com/
problems
/binary-tree-paths题目给定一个二叉树,返回所有从根节点到叶子节点的路径
"大梦三千秋
·
2024-01-01 23:39
LeetCode
leetcode
算法
dfs
bfs
二叉树的所有路径
力扣算法题python_python【力扣LeetCode算法题库】257- 二叉树的所有路径
输入:1/235输出:[“1->2->5”,“1->3”]解释:所有根节点到叶子节点的路径为:1->2->5,1->3来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
weixin_39619433
·
2024-01-01 23:38
力扣算法题python
力扣(leetcode) 257. 二叉树的所有路径 (递归)
题目在这:https://leetcode-cn.com/
problems
/binary-tree-paths/思路分析:找二叉树的所有路径,即从根节点到每个叶子节点的路径,中间用->符号进行链接。
深度不学习!!
·
2024-01-01 23:37
leetcode
python
LeetCode(力扣)144. 二叉树的前序遍历Python
LeetCode144.二叉树的前序遍历题目链接代码题目链接https://leetcode.cn/
problems
/binary-tree-preorder-traversal/代码递归遍历#Definitionforabinarytreenode
板砖大的砖头
·
2024-01-01 23:37
leetcode
python
算法
二叉树part07
530二叉搜索树的最小绝对差题目链接:https://leetcode.cn/
problems
/minimum-absolute-difference-in-bst/思路:二叉搜索树通过中序遍历变成一个有序数组
红水母
·
2024-01-01 21:04
算法
上一页
21
22
23
24
25
26
27
28
下一页
按字母分类:
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
其他