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
leetcode hot100刷题日记——1.两数之和
涉及知识点:vector、哈希表vector概念一维vector二维哈希力扣第一题:两数之和[link5](https://
leetcode.cn
/problems/two-sum/description
姬公子521
·
2025-05-19 13:47
力扣刷题专栏
leetcode
算法
c++
leetcode:1.两数之和
1.两数之和来源:力扣(LeetCode)链接:https://
leetcode.cn
/problems/two-sum给定一个整数数组nums和一个整数目标值target,请你在该数组中找出和为目标值
uncle_ll
·
2025-05-18 18:42
编程练习-Leetcode
leetcode
数组
算法训练营
哈希表
两数之和
LeetCode 2900.最长相邻不相等子序列 I:阅读理解题——O(n)一次遍历(贪心)
【LetMeFly】2900.最长相邻不相等子序列I:阅读理解题——O(n)一次遍历(贪心)力扣题目链接:https://
leetcode.cn
/problems/longest-unequal-adjacent-groups-subsequence-i
Tisfy
·
2025-05-17 23:56
题解
#
力扣LeetCode
leetcode
算法
题解
贪心
leetcode:11. 盛最多水的容器
11.盛最多水的容器来源:力扣(LeetCode)链接:https://
leetcode.cn
/problems/container-with-most-water/给定一个长度为n的整数数组height
uncle_ll
·
2025-05-14 22:22
编程练习-Leetcode
leetcode
数组
双指针
算法训练营
盛最多的水
定长滑动窗口-----金丹篇
一.热身阶段力扣567.字符串的排列https://
leetcode.cn
/problems/permutation-in-string/description/https://
leetcode.cn
/
极道万岁
·
2025-05-11 19:07
定长滑动窗口
算法
c++
leetcode
LeetCode 2918.数组的最小相等和:if-else
【LetMeFly】2918.数组的最小相等和:if-else力扣题目链接:https://
leetcode.cn
/problems/minimum-equal-sum-of-two-arrays-after-replacing-zeros
Tisfy
·
2025-05-11 15:16
题解
#
力扣LeetCode
leetcode
算法
题解
数组
讨论
Leetcode刷题记录31——旋转图像
题源:https://
leetcode.cn
/problems/rotate-image/description/?
张书名
·
2025-05-07 09:47
Leetcode刷题记录
leetcode
算法
职场和发展
LeetCode算法题 (移除链表元素)Day15!!!C/C++
https://
leetcode.cn
/problems/remove-linked-list-elements/description/一、题目分析给你一个链表的头节点head和一个整数val,请你删除链表中所有满足
我是一只鱼0223
·
2025-05-07 02:03
算法
leetcode
链表
c++
数据结构小扫尾——栈
栈的分类(三)栈的存储结构(四)栈的示例二、栈的实现(一)顺序栈的实现(二)链栈的实现栈的应用(一)括号匹配(二)中缀表达式转后缀表达式例题[20.有效的括号-力扣(LeetCode)](https://
leetcode.cn
良木林
·
2025-05-06 17:08
c语言
数据结构
【算法入门】LeetCode 4. 寻找两个正序数组的中位数(Median of Two Sorted Arrays)详细解题指南|二分查找详解(Java & JavaScript)|算法详解与代码实
题目:官方链接:https://
leetcode.cn
/problems/median-of-two-sorted-arrays/description/?
南北极之间
·
2025-05-06 05:48
算法
算法
leetcode
java
javascript
前端
LeetCode·每日一题·2180.统计各位数字之和为偶数的整数个数·模拟
作者:小迅链接:https://
leetcode.cn
/problems/count-integers-with-even-digit-sum/solutions/2047389/mo-ni-zhu-shi-chao-ji-xiang-xi-by-xun-ge-tk8n
迅~
·
2025-05-06 05:17
LeetCode刷题笔记
leetcode
算法
职场和发展
LeetCode 1295.统计位数为偶数的数字:模拟
【LetMeFly】1295.统计位数为偶数的数字:模拟力扣题目链接:https://
leetcode.cn
/problems/find-numbers-with-even-number-of-digits
Tisfy
·
2025-05-06 04:46
题解
#
力扣LeetCode
leetcode
算法
题解
leetcode: 208.实现Trie前缀树
208.实现Trie(前缀树)来源:力扣(LeetCode)链接:https://
leetcode.cn
/problems/implement-trie-prefix-tree/Trie(发音类似“try
uncle_ll
·
2025-05-05 21:00
编程练习-Leetcode
leetcode
前缀树
字典树
算法训练
链表
【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
算法
职场和发展
上一页
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
其他