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❤️
力扣 215. 数组中的第K个最大元素
https://leetcode.cn/
problems
/kth-largest-element-in-an-array题目返回数组nums中的第k大数思路桶排,把数据都调整为正数,放置到对应的桶位置,
pursuit_csdn
·
2025-02-03 13:50
力扣热题
100
leetcode
算法
力扣 84. 柱状图中最大的矩形
https://leetcode.cn/
problems
/largest-rectangle-in-histogram题目给一个数组num表示位置i上圆柱的高度,求圆柱可以勾勒出的矩形的最大面积思路枚举圆柱
pursuit_csdn
·
2025-02-03 13:50
力扣热题
100
leetcode
算法
LeetCode 3203. Find Minimum Diameter After Merging Two Trees
https://leetcode.com/
problems
/find-minimum-diameter-after-merging-two-trees题目合并两个tree,使得tree的直径最小,返回最小值
pursuit_csdn
·
2025-02-03 13:20
LeetCode
Daily
Question
leetcode
算法
力扣 347. 前 K 个高频元素
https://leetcode.cn/
problems
/top-k-frequent-elements题目给一个数组,返回其中出现频率前K高的数字思路统计数组中数字出现的频率优先队列,建立大小为k的小根堆
pursuit_csdn
·
2025-02-03 13:16
力扣热题
100
leetcode
算法
力扣560. 和为 K 的子数组
示例1:输入:nums=[1,1,1],k=2输出:2示例2:输入:nums=[1,2,3],k=3输出:2来源:力扣(LeetCode)链接:https://leetcode.cn/
problems
/
asdfg2332155
·
2025-02-03 04:03
leetcode算法
c++
leetcode
算法
【算法】回溯算法专题① ——子集型回溯 python
目录引入变形实战演练总结引入子集https://leetcode.cn/
problems
/subsets/description/给你一个整数数组nums,数组中的元素互不相同。
查理零世
·
2025-02-03 04:31
算法
python
2412. 完成所有交易的初始最少钱数
2412.完成所有交易的初始最少钱数题目链接:2412.完成所有交易的初始最少钱数代码如下://参考链接:https://leetcode.cn/
problems
/minimum-money-required-before-transactions
咔咔咔的
·
2025-02-02 18:18
leetcode
c++
数据结构与算法之动态规划: LeetCode 877. 石子游戏 (Ts版)
石子游戏https://leetcode.cn/
problems
/stone-game/description/描述Alice和Bob用几堆石子在做游戏。
Wang's Blog
·
2025-02-01 13:45
Data
Structure
and
Algorithms
leetcode
算法
leetcode:64. 最小路径和
64.最小路径和来源:力扣(LeetCode)链接:https://leetcode.cn/
problems
/minimum-path-sum/给定一个包含非负整数的mxn网格grid,请找出一条从左上角到右下角的路径
uncle_ll
·
2025-02-01 06:26
编程练习-Leetcode
leetcode
动态规划
算法训练
最小路径和
dp
力扣:面试题 01.01. 判定字符是否唯一
示例1:输入:s="leetcode"输出:false示例2:输入:s="abc"输出:true参考https://leetcode-cn.com/
problems
/is-unique-lcci/solution
看了个寂寞
·
2025-02-01 05:37
算法
leetcode
数据结构与算法之字符串: LeetCode 43. 字符串相乘 (Ts版)
字符串相乘https://leetcode.cn/
problems
/multiply-strings/description/描述给定两个以字符串形式表示的非负整数num1和num2,返回num1和num2
Wang's Blog
·
2025-01-31 18:35
Data
Structure
and
Algorithms
leetcode
算法
2920. 收集所有金币可获得的最大积分
2920.收集所有金币可获得的最大积分题目链接:2920.收集所有金币可获得的最大积分代码如下://参考链接:https://leetcode.cn/
problems
/maximum-points-after-collecting-coins-from-all-nodes
咔咔咔的
·
2025-01-31 01:49
leetcode
c++
240. 搜索二维矩阵||
参考题解:https://leetcode.cn/
problems
/search-a-2d-matrix-ii/solutions/2361487/240-sou-suo-er-wei-ju-zhen-iitan-xin-qin
cccc楚染rrrr
·
2025-01-30 20:05
LeetCode
矩阵
线性代数
java
算法
数据结构
数据结构与算法之排序: LeetCode 1356. 根据数字二进制下 1 的数目排序 (Ts版)
根据数字二进制下1的数目排序https://leetcode.cn/
problems
/sort-integers-by-the-number-of-1-bits/description/描述给你一个整数数组
Wang's Blog
·
2025-01-30 18:50
Data
Structure
and
Algorithms
动态规划
leetcode
算法
leetcode每日一题【Day4】——438. 找到字符串中所有字母异位词
参考题解:https://leetcode-cn.com/
problems
/longest-substring-without-repeating-c
thisissally
·
2025-01-29 22:43
算法
python
leetcode
算法(哈希表)——字符串中所有字母异位词
来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
/find-all-anagrams-in-a-string示例1:输入:s="
花生酱拌面
·
2025-01-29 22:08
算法(哈希表)
算法
散列表
leetcode
c++
数据结构
算法【子数组最大累加和问题与扩展】
题目一测试链接:https://leetcode.cn/
problems
/maximum-subarray/分析:这是一道常见且较为简单的题,下面给出严格位置依赖和空间压缩的解法。代码如下。
还有糕手
·
2025-01-29 17:24
算法
动态规划
private前端常见算法
1.数组合并两个有序数组(简单-5)https://leetcode.cn/
problems
/merge-sorted-array/description/?
键.
·
2025-01-29 15:38
2025_react_run
react.js
DFS+剪枝去重+排序+回溯算法+DFS遍历叶子节点 47. 全排列 II
示例:输入:[1,1,2]输出:[[1,1,2],[1,2,1],[2,1,1]]来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
/permutations-ii
豌豆射手GCC
·
2025-01-29 09:08
leetcode
DFS
LeetCode 0040.组合总和 II:回溯 + 剪枝
【LetMeFly】40.组合总和II:回溯+剪枝力扣题目链接:https://leetcode.cn/
problems
/combination-sum-ii/给定一个候选人编号的集合candidates
Tisfy
·
2025-01-29 09:36
题解
#
力扣LeetCode
leetcode
剪枝
算法
递归
回溯
leetcode刷题记录(二十八)——(KMP算法)28. 找出字符串中第一个匹配项的下标
https://leetcode.cn/
problems
/find-the-index-of-the-first-occurrence-in-a-string/description/给你两个字符串haystack
曲奇是块小饼干_
·
2025-01-27 07:57
leetcode刷题记录
leetcode
算法
职场和发展
java
数据结构
leetcode:127. 单词接龙
127.单词接龙来源:力扣(LeetCode)链接:https://leetcode.cn/
problems
/word-ladder/字典wordList中从单词beginWord和endWord的转换序列是一个按下述规格形成的序列
uncle_ll
·
2025-01-27 04:03
编程练习-Leetcode
leetcode
算法
bfs
单词接龙
算法训练
LeetCode-127. Word Ladder [C++][Java]
LeetCode-127.WordLadderhttps://leetcode.com/
problems
/word-ladder/题目描述AtransformationsequencefromwordbeginWordtowordendWordusingadictionarywordListisasequenceofwordsbeginWord
贫道绝缘子
·
2025-01-27 03:01
LeetCode刷题怪
leetcode
java
c++
MATLAB代码实现了季节优化算法(Seasonal Optimization Algorithm, SOA)来求解优化问题
%%淘个代码%%%微信公众号搜索:淘个代码,获取更多代码%季节优化算法(SOA)clearall;clc;closeall%%
ProblemS
tatementfunc_name='F8';ProblemParams.CostFuncName
go5463158465
·
2025-01-27 02:50
matlab
算法
深度学习
matlab
算法
开发语言
1173. 即时食物配送 I(SQL)
题目:https://leetcode-cn.com/
problems
/immediate-food-delivery-i/配送表:Delivery+--------------------------
keep moving 123
·
2025-01-27 00:35
database
leetcode
easy
leetcode
蓝桥杯真题 - 翻转 - 题解
题目链接:https://www.lanqiao.cn/
problems
/3520/learning/个人评价:难度1星(满星:5)前置知识:无整体思路贪心,除了第一位跟最后一位,其它字符,每当S[i]
ExRoc
·
2025-01-27 00:33
蓝桥杯
算法
c++
蓝桥杯真题 - 三国游戏 - 题解
题目链接:https://www.lanqiao.cn/
problems
/3518/learning/个人评价:难度2星(满星:5)前置知识:贪心整体思路先假设魏蜀吴中的某一个势力最终获胜的情况下,如何求出事件发生的最大数量
ExRoc
·
2025-01-26 23:02
蓝桥杯
算法
c++
数据结构与算法之哈希表: LeetCode 217. 存在重复元素 (Ts版)
存在重复元素https://leetcode.cn/
problems
/contains-duplicate/description/描述给你一个整数数组nums。
Wang's Blog
·
2025-01-26 17:13
Data
Structure
and
Algorithms
leetcode
算法
数据结构与算法之递归: LeetCode 51. N 皇后 (Ts版)
N皇后https://leetcode.cn/
problems
/permutations-ii/description/描述按照国际象棋的规则,皇后可以攻击与之处在同一行或同一列或同一斜线上的棋子n皇后问题研究的是如何将
Wang's Blog
·
2025-01-26 14:21
Data
Structure
and
Algorithms
leetcode
算法
leetcode:279.完全平方数
279.完全平方数来源:力扣(LeetCode)链接:https://leetcode.cn/
problems
/perfect-squares/给你一个整数n,返回和为n的完全平方数的最少数量。
uncle_ll
·
2025-01-26 13:44
编程练习-Leetcode
leetcode
动态规划
算法训练
完全平方数
题解 CodeForces 131D Subway BFS C++
题目传送门Problem-131D-Codeforceshttps://codeforces.com/
problems
et/problem/131/Dhttps://codeforces.com/
problems
et
qwq_ovo_pwp
·
2025-01-26 05:10
c++
广度优先
算法
LeetCode每日一题5月20日 LeetCode1371. 每个元音包含偶数次的最长子字符串
来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
/find-the-longest-substring-containing-vowels-in-even-counts
青日五月
·
2025-01-25 16:26
LeetCode刷题记录
字符串
leetcode
动态规划
Java力扣题解:169 多数元素——投票法
来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
/majority-element著作权归领扣网络所有。
早起之王
·
2025-01-25 16:53
leetcode
leetcode
AtCoder备赛刷题 ABC 363 | Avoid Palindrome 2
附上汇总贴:AtCoder备赛刷题|汇总【
ProblemS
tatement】YouaregivenastringSSSoflengthNNNconsistingonlyoflowercaseEnglishletters
热爱编程的通信人
·
2025-01-24 12:59
c++
算法
力扣 739. 每日温度
https://leetcode.cn/
problems
/daily-temperatures题目给定一个数组,表示每天的天气返回一个数组,indexi表示几天后比当前的温度要高,没有则为0思路维护一个单调递减栈
pursuit_csdn
·
2025-01-21 05:19
力扣热题
100
leetcode
算法
leetcode 6058. 统计打字方案数java
https://leetcode-cn.com/
problems
/count-number-of-texts/classSolution{//int[]buttons={0,0,3,3,3,3,3,4,3,4
奔跑的废柴
·
2025-01-20 08:52
LeetCode
leetcode
java
动态规划
leetcode:66. 加一
题目来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
/plus-one给定一个由整数组成的非空数组所表示的非负整数,在该数的基础上加一。
uncle_ll
·
2025-01-20 02:54
编程练习-Leetcode
leetcode
算法
加法
leetcode:66.加一
66.加一来源:力扣(LeetCode)链接:https://leetcode.cn/
problems
/plus-one/给定一个由整数组成的非空数组所表示的非负整数,在该数的基础上加一。
uncle_ll
·
2025-01-20 02:54
编程练习-Leetcode
leetcode
数组
加一
从后往前
蓝桥杯真题 - 公因数匹配 - 题解
题目链接:https://www.lanqiao.cn/
problems
/3525/learning/个人评价:难度2星(满星:5)前置知识:调和级数整体思路题目描述不严谨,没说在无解的情况下要输出什么
ExRoc
·
2025-01-19 21:05
蓝桥杯
算法
c++
蓝桥杯真题 - 子树的大小 - 题解
题目链接:https://www.lanqiao.cn/
problems
/3526/learning/个人评价:难度2星(满星:5)前置知识:无整体思路整体将节点编号−1-1−1,通过找规律可以发现,节点
ExRoc
·
2025-01-19 21:04
蓝桥杯
算法
c++
82. Remove Duplicates from Sorted List II
https://leetcode.com/
problems
/remove-duplicates-from-sorted-list-ii/description/删除增序链表中的重复结点思路:用pre记录前驱
caisense
·
2025-01-19 15:12
LeetCode
思维图GOT:用大语言模型解决复杂问题
23年8月份来自瑞士和波兰的大学以及一个数据公司Cledar的大语言模型论文“GraphofThoughts:SolvingElaborate
Problems
withLargeLanguageModels
硅谷秋水
·
2025-01-18 19:05
大模型
人工智能
机器学习
语言模型
人工智能
自然语言处理
力扣 155. 最小栈
https://leetcode.cn/
problems
/min-stack/description题目实现一个stack,可以o1返回stack的最小值思路刚开始套单调队列了,后来发现并不需要那么麻烦每次记录比当前栈顶还小的值
pursuit_csdn
·
2025-01-16 22:26
力扣热题
100
leetcode
算法
职场和发展
代码随想录Day 41|动态规划之买卖股票问题,leetcode题目121. 买卖股票的最佳时机、122. 买卖股票的最佳时机Ⅱ、123. 买卖股票的最佳时机Ⅲ
II解题思路:题目三:123.买卖股票的最佳时机III解题思路总结买卖股票的最佳时机相关题目题目一:121.买卖股票的最佳时机[[121.买卖股票的最佳时机](https://leetcode.cn/
problems
LluckyYH
·
2024-09-16 04:10
动态规划
leetcode
算法
数据结构
【LeetCode】53. Maximum Subarray
问题描述问题链接:https://leetcode.com/
problems
/maximum-subarray/#/descriptionFindthecontiguoussubarraywithinanarray
墨染百城
·
2024-09-16 03:02
LeetCode
leetcode
每日一题《leetcode--LCR 022.环形链表||》
https://leetcode.cn/
problems
/c32eOV/我们使用两个指针,fast与slow。它们起始都位于链表的头部。
Peace & Love487
·
2024-09-15 22:02
题目分享
leetcode
链表
算法
笔记
数据结构
LCR 078. 合并 K 个升序链表
https://leetcode.cn/
problems
/vvXgSW/description/https://leetcode.cn/
problems
/vvXgSW/description/解题思路方法一
装B且挨揍の
·
2024-09-15 22:32
LeetCode
链表
算法
数据结构
经验分享
笔记
java
单词搜索 II
来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
/word-search-ii题目描述:给定一个mxn二维字符网格board和一个单词(字符串)列表words
xialu
·
2024-09-15 07:16
学期复盘
1我的大学生活之大学英语学习1)在这个学期的大学英语学习中,我的GPS[Gains]在这个学期的英语学习中我的听力能力提高了;多于长句的理解翻译能力也增加了;对于英语的文化背景的了解也增加了[
Problems
高wen鑫
·
2024-09-15 07:53
【力扣】[热题HOT100] 279.完全平方数
链接:https://leetcode-cn.com/
problems
/perfec
失落的换海迷风
·
2024-09-15 04:42
#
热题HOT100
动态规划
完全平方数
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
其他