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
LeetCode.cn
【Hot 100】94. 二叉树的中序遍历
二叉树的中序遍历题目链接:https://
leetcode.cn
/problems/binary-tree-inorder-traversal/description/?envType
海码007
·
2025-05-04 20:49
算法
数据结构
Hot100
c++
算法
二叉树
【刷力扣】23. 合并 K 个升序链表(dummy节点技巧 + 分治思维 + 优先队列)
目录一、合并升序链表问题二、题目:[21.合并两个有序链表](https://
leetcode.cn
/problems/merge-two-sorted-lists/description/)1、掌握dummy
南七行者
·
2025-05-04 16:47
数据结构与算法
leetcode
链表
LeetCode算法题 (比较含退格的字符串)Day9!!!C/C++
https://
leetcode.cn
/problems/backspace-string-compare/description/一、题目描述给定s和t两个字符串,当它们分别被输入到空白的文本编辑器后
我是一只鱼0223
·
2025-05-03 21:46
leetcode
算法
职场和发展
LeetCode算法题 (最小栈)Day10!!!C/C++
https://
leetcode.cn
/problems/min-stack/description/一、题目描述设计一个支持push,pop,top操作,并能在常数时间内检索到最小元素的栈。
我是一只鱼0223
·
2025-05-03 21:46
leetcode
算法
职场和发展
LeetCode算法题 (买卖股票的最佳时机 II)Day6!!!C/C++
https://
leetcode.cn
/problems/best-time-to-buy-and-sell-stock-ii/description/一、题目描述给你一个整数数组prices,其中prices
我是一只鱼0223
·
2025-05-03 21:16
leetcode
算法
职场和发展
Leetcode刷题记录28——缺失的第一个正数
题源:https://
leetcode.cn
/problems/first-missing-positive/description/?
张书名
·
2025-05-03 12:20
Leetcode刷题记录
leetcode
算法
职场和发展
Leetcode刷题报告1——哈希表
文章目录说明[1.两数之和](https://
leetcode.cn
/problems/two-sum/)题干题解[49.字母异位词分组](https://
leetcode.cn
/problems/group-anagrams
红白小蛋糕
·
2025-04-30 22:27
LeetCode刷题
leetcode
散列表
哈希算法
LC: 面试题 03.01. 三合一
链接:https://
leetcode.cn
/problems/
我是一颗什么糖
·
2025-04-27 08:15
力扣刷题
leetcode
数据结构
Leetcode刷题记录19——无重复字符的最长子串
题源:https://
leetcode.cn
/problems/longest-substring-without-repeating-characters/description/?
张书名
·
2025-04-26 23:55
Leetcode刷题记录
leetcode
算法
职场和发展
Leetcode34.排序数组中查找元素第一个和最后一个位置(python)
https://
leetcode.cn
/problems/find-first-and-last-position-of-element-in-sorted-array/#解法:#1、首先,在nums数组中二分查找
我是丑蛋
·
2025-04-26 04:14
leetcode
python
代码随想录算法训练营day9(栈与队列)
华子目录逆波兰表达式求值思路逆波兰表达式求值https://
leetcode.cn
/problems/evaluate-reverse-polish-notation/思路初始化一个栈遍历整个tokens
^~^前行者~~~
·
2025-04-24 11:30
算法
开发语言
python
240422 leetcode exercises
240422leetcodeexercises@jarringslee文章目录240422leetcodeexercises[237.删除链表中的节点](https://
leetcode.cn
/problems
良木林
·
2025-04-23 02:58
LeetCode
leetcode
算法
动态规划
力扣每日一题781题解-算法:贪心,数学公式 - 数据结构:哈希
https://
leetcode.cn
/problems/rabbits-in-forest/description/?
2301_78938049
·
2025-04-21 08:18
数据结构和算法日常练习
算法
leetcode
职场和发展
代码随想录算法训练营day5(哈希表)
华子目录有效的字母异位词思路有效的字母异位词https://
leetcode.cn
/problems/valid-anagram/description/思路使用哈希表,这里哈希表使用数组先申请一个26
^~^前行者~~~
·
2025-04-21 06:07
算法
数据结构
python
Leetcode 325. 和等于 k 的最长子数组长度【Plus题】
1.2.题目地址https://
leetcode.cn
/problems/maximum-size-subarray-sum-equals-k/description/2.解题方法2.1.解题思路哈希表
Benjamin Tang
·
2025-04-18 12:55
leetcode
算法
python
数据结构
LeetCode Hot 100系列:螺旋矩阵(Q54)
1.题目信息54.螺旋矩阵https://
leetcode.cn
/problems/spiral-matrix/?
Jayson Chang
·
2025-04-15 18:18
LeetCode
Hot
100
leetcode
矩阵
算法
題解/算法 {10034. 统计强大整数的数目}
題解/算法{10034.统计强大整数的数目}@LINK:https://
leetcode.cn
/problems/count-the-number-of-powerful-integers/;令Suf:
「已注销」
·
2025-04-13 12:27
题解
算法
leetcode 322. Coin Change 零钱兑换(中等)
一、题目大意标签:动态规划https://
leetcode.cn
/problems/coin-change给你一个整数数组coins,表示不同面额的硬币;以及一个整数amount,表示总金额。
okokabcd
·
2025-04-12 19:40
LeetCode每日一题
leetcode
动态规划
算法
数据结构——顺序表相关算法题记录
数据结构——顺序表相关算法题记录1.LeetCode27移除元素题目链接:https://
leetcode.cn
/problems/remove-element/description/题目描述:给你一个数组
million_yang
·
2025-04-11 12:07
数据结构
算法
leetcode数组-移除元素
题目题目链接:https://
leetcode.cn
/problems/remove-element/给你一个数组nums和一个值val,你需要原地移除所有数值等于val的元素。
luckyme_
·
2025-04-09 18:06
数据结构
leetcode
算法
c++
LeetCode 501. 二叉搜索树中的众数 java题解
https://
leetcode.cn
/problems/find-mode-in-binary-search-tree/description/classSolution{intcount=0;intmaxCount
奔跑的废柴
·
2025-04-08 05:32
LeetCode
leetcode
java
算法
二叉树
LeetCode 235. 二叉搜索树的最近公共祖先 java题解
https://
leetcode.cn
/problems/lowest-common-ancestor-of-a-binary-search-tree/description/由于二叉搜索树是有序的,所以比题
奔跑的废柴
·
2025-04-08 05:32
LeetCode
leetcode
java
算法
leetcode数组-长度最小的子数组
题目题目链接:https://
leetcode.cn
/problems/minimum-size-subarray-sum/给定一个含有n个正整数的数组和一个正整数target**。
luckyme_
·
2025-04-06 04:15
数据结构
leetcode
算法
c++
LeetCode 75. 颜色分类
链接https://
leetcode.cn
/probl
fenjijue
·
2025-04-05 08:09
指针使用
leetcode
算法
指针
力扣刷题-热题100题-第27题(c++、python)
21.合并两个有序链表-力扣(LeetCode)https://
leetcode.cn
/problems/merge-two-sorted-lists/description/?
weixin_44505472
·
2025-04-02 16:08
leetcode
c++
算法
python
力扣刷题-热题100题-第29题(c++、python)
19.删除链表的倒数第N个结点-力扣(LeetCode)https://
leetcode.cn
/problems/remove-nth-node-from-end-of-list/description
weixin_44505472
·
2025-04-02 16:08
leetcode
c++
算法
python
力扣刷题-热题100题-第26题(c++、python)
142.环形链表II-力扣(LeetCode)https://
leetcode.cn
/problems/linked-list-cycle-ii/?
weixin_44505472
·
2025-04-02 16:07
leetcode
c++
算法
python
力扣刷题-热题100题-第28题(c++、python)
2.两数相加-力扣(LeetCode)https://
leetcode.cn
/problems/add-two-numbers/description/?
weixin_44505472
·
2025-04-02 15:32
leetcode
c++
算法
python
算法练习日记
day4力扣454题https://
leetcode.cn
/problems/4sum-ii/description/四数相加2:本题和二数相加、三数相加完全不同,本题不用考虑去重的情况,所以更加简单。
2301_79973387
·
2025-03-31 08:55
算法
leetcode:72. 编辑距离
72.编辑距离来源:力扣(LeetCode)链接:https://
leetcode.cn
/problems/edit-distance/给你两个单词word1和word2,请返回将word1转换成word2
uncle_ll
·
2025-03-30 00:47
编程练习-Leetcode
leetcode
动态规划
编辑距离
算法训练
dp
LeetCode 2829.k-avoiding 数组的最小总和:贪心(数学公式O(1)算出)
【LetMeFly】2829.k-avoiding数组的最小总和:贪心(数学公式O(1)算出)力扣题目链接:https://
leetcode.cn
/problems/determine-the-minimum-sum-of-a-k-avoiding-array
Tisfy
·
2025-03-29 04:26
题解
#
力扣LeetCode
leetcode
算法
题解
贪心
数学
代码随想录算法训练营第二十五天 | 491. 非递减子序列、46. 全排列、47.全排列 II、332. 重新安排行程、51. N 皇后、37. 解数独
491.非递减子序列题目链接:https://
leetcode.cn
/problems/non-decreasing-subsequences/description/文档讲解:https://programmercarl.com
榛果咖啡有点苦
·
2025-03-26 18:22
代码随想录算法训练营
算法
代码随想录算法训练营第三十六天 | 1049. 最后一块石头的重量 II、494. 目标和、474. 一和零
1049.最后一块石头的重量II(*)题目链接:https://
leetcode.cn
/problems/last-stone-weight-ii/文档讲解:https://programmercarl.com
榛果咖啡有点苦
·
2025-03-26 18:22
代码随想录算法训练营
算法
高频SQL50题 第四天 | 1251. 平均售价、620. 有趣的电影、1075. 项目员工 I、1633. 各赛事的用户注册率
知识点导览:日期大小比较;ifnull(字段,默认值)函数;取余操作;字符串比较like;逆序desc1251.平均售价题目链接:https://
leetcode.cn
/problems/average-selling-price
榛果咖啡有点苦
·
2025-03-26 17:48
高频
SQL
50
题
mysql
力扣刷题-热题100题-第12题(c++、python)
76.最小覆盖子串-力扣(LeetCode)https://
leetcode.cn
/problems/minimum-window-substring/?
weixin_44505472
·
2025-03-25 20:09
leetcode
c++
算法
python
力扣刷题-热题100题-第21题(c++、python)
240.搜索二维矩阵II-力扣(LeetCode)https://
leetcode.cn
/problems/search-a-2d-matrix-ii/submissions/613522892/?
weixin_44505472
·
2025-03-25 20:09
算法
c++
python
leetcode
力扣刷题-热题100题-第3题(C、python)
128.最长连续序列-力扣(LeetCode)https://
leetcode.cn
/problems/longest-consecutive-sequence/?
weixin_44505472
·
2025-03-25 20:39
leetcode
算法
职场和发展
leetcode 27:移除元素
https://
leetcode.cn
/problems/remove-element/classSolution{publicintremoveElement(int[]nums,intval){intcount
Susan_330818
·
2025-03-25 01:51
leetcode
算法
数据结构
leetcode:15.三数之和
15.三数之和来源:力扣(LeetCode)链接:https://
leetcode.cn
/problems/3sum给你一个包含n个整数的数组nums,判断nums中是否存在三个元素a,b,c,使得a+
uncle_ll
·
2025-03-24 16:05
编程练习-Leetcode
leetcode
三数之和
双指针
算法训练营
数组
LeetCode第104题_二叉树的最大深度
难度简单问题链接https://
leetcode.cn
/problems/maximum-depth-of-binary-tree/示例示例1:输入:root=[3,9,20,null,null,15,7
@蓝莓果粒茶
·
2025-03-24 15:04
算法
leetcode
算法
职场和发展
c++
数据结构
python
c#
力扣刷题-热题100题-第20题(c++、python)
48.旋转图像-力扣(LeetCode)https://
leetcode.cn
/problems/rotate-image/?
weixin_44505472
·
2025-03-23 02:06
c++
python
leetcode
栈 力扣hot100热门面试算法题 面试基础 核心思路 背题 滑动窗口最大值 字符串解码 每日温度 柱状图中最大矩形 有效的括号 最小栈
滑动窗口最大值https://
leetcode.cn
/problems/sliding-window-maximum/题解链接https://
leetcode.cn
/problems/sliding-window-maximum
尘土哥
·
2025-03-22 20:26
算法
leetcode
面试
LeetCode第98题_验证二叉搜索树
难度中等问题链接https://
leetcode.cn
/problems/validate-binary-search-tree/示例示例1:输入:
@蓝莓果粒茶
·
2025-03-21 09:45
算法
leetcode
linux
算法
链表
c++
数据结构
python
高频SQL50题 第一天 | 1757. 可回收且低脂的产品、584. 寻找用户推荐人、595. 大的国家、1683. 无效的推文、1148. 文章浏览 I
1757.可回收且低脂的产品题目链接:https://
leetcode.cn
/problems/recyclable-and-low-fat-products/description/?
榛果咖啡有点苦
·
2025-03-20 14:47
高频
SQL
50
题
mysql
链表 力扣hot100热门面试算法题 面试基础 核心思路 背题 LRU 合成K个升序链表 环形链表II 合成两个有序链表 两数相加 删除链表的倒数第N个节点 两两交换链表中的节点 K个一组反转链表等
相交链表https://
leetcode.cn
/problems/intersection-of-two-linked-lists/核心思路设第一个公共节点为node,headA的节点数量为a,headB
尘土哥
·
2025-03-18 13:37
算法
链表
leetcode
leetcode:206.反转链表
206.反转链表来源:力扣(LeetCode)链接:https://
leetcode.cn
/problems/reverse-linked-list给你单链表的头节点head,请你反转链表,并返回反转后的链表
uncle_ll
·
2025-03-18 04:45
编程练习-Leetcode
leetcode
链表反转
递归
迭代
算法训练营
力扣 2697. 字典序最小回文串
题目来源:https://
leetcode.cn
/problems/lexicographically-smallest-palindrome/C++题解:从两端往中间判断,不同时则用字典序小的替换字典序大的
江湖人称贺行风
·
2025-03-16 14:29
开始C++吧
leetcode
算法
c++
蓝桥杯好题推荐---子集
个人主页:羽晨同学个人格言:“成为自己未来的主人~”题目链接78.子集-力扣(LeetCode)https://
leetcode.cn
/problems/subsets/description/解题思路在这道题目当中
羽晨同学
·
2025-03-16 00:18
蓝桥杯C++组
蓝桥杯
职场和发展
LeetCode 376. 摆动序列 java题解
https://
leetcode.cn
/problems/wiggle-subsequence/description/只要不满足摆动条件,就不更新count和prediff当prevDiff取等号时,
奔跑的废柴
·
2025-03-13 10:45
LeetCode
leetcode
java
算法
贪心
贪心算法
C语言每日一练Day03——移除元素
移除元素问题描述解题方案思路一思路二思路三(最优解)总结:问题描述原题链接:https://
leetcode.cn
/problems/remove-element/解题方案思路一思路一:首先通过简单分析
不摸鱼的程序员
·
2025-03-12 19:22
『C语言』初阶+进阶
c语言
算法
leetcode
学习
经验分享
上一页
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
其他