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
day03&day04链表专题
文章目录链表基本[707设计链表](https://
leetcode.cn
/problems/design-linked-list)[203移除链表元素](https://
leetcode.cn
/problems
Panfwr
·
2024-01-25 23:36
链表
数据结构
day06哈希表的使用1
[有效的字母异位词](https://
leetcode.cn
/problems/valid-anagram/description/)349[两个数组的交集](https://
leetcode.cn
/problems
Panfwr
·
2024-01-25 23:36
散列表
数据结构
代码随想录算法训练营29期Day30|LeetCode 332,51,37
文档讲解:回溯算法总结篇重新安排行程N皇后解数独51.N皇后题目链接:https://
leetcode.cn
/problems/permutations/description/思路:本题的基本含义就是有个
tlingyuqi
·
2024-01-25 22:29
代码随想录算法训练营29期
算法
leetcode
c++
职场和发展
代码随想录算法训练营29期Day29|LeetCode 491,46,47
文档讲解:递增子序列全排列全排列II491.递增子序列题目链接:https://
leetcode.cn
/problems/non-decreasing-subsequences/description/
tlingyuqi
·
2024-01-25 22:28
代码随想录算法训练营29期
算法
leetcode
深度优先
c++
职场和发展
数据结构算法刷题--贪心算法
1.贪心算法理论基础2.分发饼干题目:https://
leetcode.cn
/problems/assign-cookies/submissions/思路:贪心–局部最优可以得到全局最优优先考虑饼干,尽可能用小饼干满足小胃口代码实现
Introspection_ZHANG
·
2024-01-25 19:41
数据结构-算法刷题
java
贪心算法
算法
链表OJ-----链表反转
1、链表局部反转https://
leetcode.cn
/problems/reverse-linked-list-ii/1、1初级要求:时间复杂度为O(n),空间复杂度为O(n)对于这个要求,我们可以想到
夹心宝贝
·
2024-01-25 18:38
链表OJ题
链表
数据结构
c语言
链表OJ----相交链表找交点
https://
leetcode.cn
/problems/intersection-of-two-linked-lists/description/1、长链表先走,然后二者一起走由于两个链表可能不一样,
夹心宝贝
·
2024-01-25 18:38
链表OJ题
链表
数据结构
c语言
链表OJ---排序链表
https://
leetcode.cn
/problems/7WHec2/description///合并structListNode*merge_link(structListNode*head1,structListNode
夹心宝贝
·
2024-01-25 18:35
链表OJ题
链表
数据结构
leetcode1143. 最长公共子序列-动态规划(java)
最长公共子序列题目描述暴力递归解题思路代码演示动态规划解题思路代码演示动态规划专题leetcode1143.最长公共子序列leetcode1143.最长公共子序列来源:力扣(LeetCode)链接:https://
leetcode.cn
SP_1024
·
2024-01-25 15:50
算法
java
数据结构
java
动态规划
算法
leetcode
数据结构
wy的leetcode刷题记录_Day73
leetcode刷题记录_Day73声明前言2645.构造有效字符串的最少插入数题目介绍思路代码收获2645.构造有效字符串的最少插入数今天的每日一题是:[2645.构造有效字符串的最少插入数(https://
leetcode.cn
wy-1226
·
2024-01-24 21:04
leetcode
算法
LeetCode 0410.分割数组的最大值:二分
【LetMeFly】410.分割数组的最大值:二分力扣题目链接:https://
leetcode.cn
/problems/split-array-largest-sum/给定一个非负整数数组nums和一个整数
Tisfy
·
2024-01-24 03:49
题解
#
力扣LeetCode
leetcode
算法
题解
二分
数组
代码随想录算法训练营29期Day28|LeetCode 93,78,90
文档讲解:复原IP地址子集子集II93.复原IP地址题目链接:https://
leetcode.cn
/problems/restore-ip-addresses/description/思路:这题其实不用搜索也能做
tlingyuqi
·
2024-01-23 22:45
代码随想录算法训练营29期
算法
leetcode
深度优先
c++
职场和发展
【LeetCode每日一题】410. 分割数组的最大值
2024-1-21文章目录[410.分割数组的最大值](https://
leetcode.cn
/problems/split-array-largest-sum/)思路:二分查找+贪心410.分割数组的最大值思路
翁佳明
·
2024-01-23 22:13
LeetCode
leetcode
算法
职场和发展
【LeetCode每日一题】2765. 最长交替子数组
2024-1-23文章目录[2765.最长交替子数组](https://
leetcode.cn
/problems/longest-alternating-subarray/)思路:2765.最长交替子数组思路
翁佳明
·
2024-01-23 22:13
LeetCode
leetcode
算法
职场和发展
【LeetCode每日一题】670. 最大交换
2024-1-22文章目录[670.最大交换](https://
leetcode.cn
/problems/maximum-swap/)思路:670.最大交换思路:从后往前遍历整数的字符数组,找到第一个比当前最大值小的数字
翁佳明
·
2024-01-23 22:10
LeetCode
leetcode
算法
职场和发展
代码随想录算法训练营29期Day27|LeetCode 39,40,131
文档讲解:组合总和组合总和II分割回文串39.组合总和题目链接:https://
leetcode.cn
/problems/combination-sum/description/思路:很简单,因为每个数选取的次数为无限个
tlingyuqi
·
2024-01-23 22:10
代码随想录算法训练营29期
算法
leetcode
职场和发展
c++
力扣白嫖日记(sql)
前言练习sql语句,所有题目来自于力扣(https://
leetcode.cn
/problemset/database/)的免费数据库练习题。
Gary.Li
·
2024-01-23 21:28
力扣刷题
leetcode
sql
数据库
力扣白嫖日记(sql)
前言练习sql语句,所有题目来自于力扣(https://
leetcode.cn
/problemset/database/)的免费数据库练习题。
Gary.Li
·
2024-01-23 20:27
力扣刷题
leetcode
sql
数据库
LeetCode刷题日记
LeetCode刷题日记HashMap第1题----两数之和原题地址[https://
leetcode.cn
/problems/two-sum/]:解题思路:将数组中每个元素通过两次遍历使两数之差target
lalala1213888
·
2024-01-23 07:41
leetcode
算法
职场和发展
Java算法 leetcode简单刷题记录3
Java算法leetcode简单刷题记录3汇总区间:https://
leetcode.cn
/problems/summary-ranges/把数据按照是否连续分组输出主要是n
程序媛一枚~
·
2024-01-23 06:59
JAVA
算法
java
leetcode
开发语言
Java算法 leetcode简单刷题记录5
Java算法leetcode简单刷题记录5老人的数目:https://
leetcode.cn
/problems/number-of-senior-citizens/substring(a,b)前闭后开统计能整除数字的位数
程序媛一枚~
·
2024-01-23 06:59
JAVA
算法
算法
java
leetcode
Java算法 leetcode简单刷题记录2
Java算法leetcode刷题记录2最后一个字母长度:https://
leetcode.cn
/problems/length-of-last-word/str.trim()去掉开头结尾空格;不会去掉中间空格
程序媛一枚~
·
2024-01-23 06:29
JAVA
算法
算法
java
leetcode
Java算法 leetcode简单刷题记录4
Java算法leetcode简单刷题记录4买卖股票的最佳时机:https://
leetcode.cn
/problems/best-time-to-buy-and-sell-stock/笨办法:记录当天的值及之后的最大值
程序媛一枚~
·
2024-01-23 06:22
JAVA
算法
算法
java
leetcode
代码随想录刷题第11天
第一题是有效的括号https://
leetcode.cn
/problems/valid-parentheses/description/,经典的括号匹配问题,主要是分清可能失配的三种情况:左括号多了,右括号多了
太阳照常升起366
·
2024-01-22 21:33
leetcode
代码随想录刷题第13天
第一题是滑动窗口最大值https://
leetcode.cn
/problems/sliding-window-maximum/description/,第一次接触难题。不会,看看卡哥怎么说代码随想录。
太阳照常升起366
·
2024-01-22 21:33
算法
数据结构
代码随想录刷题第7天
第一题是四数相加https://
leetcode.cn
/problems/4sum-ii/description/,直接的想法是4重循环,时间复杂度爆表,放弃。找卡哥代码随想录。
太阳照常升起366
·
2024-01-22 21:03
leetcode
算法
职场和发展
代码随想录刷题第八天
第一题是反转字符串https://
leetcode.cn
/problems/reverse-string/description/,首先想到的是双指针一个left一个right,调用一下swap函数。
太阳照常升起366
·
2024-01-22 21:03
leetcode
代码随想录刷题第九天
第一题是找字符串的匹配项https://
leetcode.cn
/problems/find-the-index-of-the-first-occurrence-in-a-string/description
太阳照常升起366
·
2024-01-22 21:03
leetcode
代码随想录刷题第四天
今天的第一题是两两交换链表中的节点https://
leetcode.cn
/problems/swap-nodes-in-pairs/description/直接找卡哥代码随想录。
太阳照常升起366
·
2024-01-22 21:32
leetcode
代码随想录刷题第十天
首先了解了栈和队列的原理与底层实现,第一题是用栈实现队列https://
leetcode.cn
/problems/implement-queue-using-stacks/description/,求助卡哥代码随想录
太阳照常升起366
·
2024-01-22 21:00
leetcode
代码随想录算法训练营第8天 | 344.反转字符串 ,541. 反转字符串II ,54. 替换数字(卡码网) ,151.翻转字符串里的单词 ,55. 右旋字符串(卡码网)
344.反转字符串题目链接:https://
leetcode.cn
/problems/reverse-string/description/思路:双指针双指针交换首尾字符即可classSolution{
Aaron_Yang.
·
2024-01-22 20:48
代码随想录算法训练营
算法
代码随想录算法训练营第7天 | 454. 四数相加 II ,383. 赎金信 ,15. 三数之和 ,18. 四数之和
E8%A1%A8%E7%90%86%E8%AE%BA%E5%9F%BA%E7%A1%80.html#%E5%93%88%E5%B8%8C%E8%A1%A8454.四数相加II题目链接:https://
leetcode.cn
Aaron_Yang.
·
2024-01-22 20:18
代码随想录算法训练营
算法
哈希算法
代码随想录算法训练营第9天 | 232.用栈实现队列 , 225. 用队列实现栈
/%E6%A0%88%E4%B8%8E%E9%98%9F%E5%88%97%E7%90%86%E8%AE%BA%E5%9F%BA%E7%A1%80.html344.反转字符串题目链接:https://
leetcode.cn
Aaron_Yang.
·
2024-01-22 20:17
代码随想录算法训练营
算法
数组形式的整数加法
链接https://
leetcode.cn
/problems/add-to-array-form-of-integer/description/第一个此题考整数加法进位的处理,第一个需要将原数组从个位递增和
且听吟风°
·
2024-01-22 11:01
001
c/c++
题目详解
c语言
开发语言
数据结构
算法
LeetCode-410.分割数组的最大值
原题链接:https://
leetcode.cn
/problems/split-array-largest-sum/description题面给定一个非负整数数组nums和一个整数k,你需要将这个数组分成
WeiXiao_Hyy
·
2024-01-22 11:30
LeetCode
DP
leetcode
算法
排序算法
算法训练day20Leetcode654最大二叉树617合并二叉树700二叉树中的1搜索98验证二叉搜索树
654最大二叉树题目https://
leetcode.cn
/problems/maximum-binary-tree/description/我的想法中序遍历递归,找到最大值然后作为根节点题目分析凡是构造二叉树的题目都用前序遍历
dc爱傲雪和技术
·
2024-01-22 08:52
算法
数据结构与算法之数组: LeetCode 605. 种花问题 (Typescript版)
种花问题https://
leetcode.cn
/problems/can-place-flowers/描述假设有一个很长的花坛,一部分地块种植了花,另一部分却没有。
Wang's Blog
·
2024-01-21 23:06
Data
Structure
and
Algorithms
Typescript
leetcode
算法
typescript
代码随想录算法训练营29期Day25|LeetCode 216,17
文档讲解:组合总和III电话号码的字母组合216.组合总和III题目链接:https://
leetcode.cn
/problems/combination-sum-iii/description/思路:
tlingyuqi
·
2024-01-21 21:02
算法
leetcode
职场和发展
c++
【LeetCode每日一题】2171. 拿出最少数目的魔法豆
2024-1-18文章目录[2171.拿出最少数目的魔法豆](https://
leetcode.cn
/problems/removing-minimum-number-of-magic-beans/)思路
翁佳明
·
2024-01-21 14:26
LeetCode
leetcode
算法
职场和发展
【LeetCode每日一题】2809. 使数组和小于等于 x 的最少时间
2024-1-19文章目录[2809.使数组和小于等于x的最少时间](https://
leetcode.cn
/problems/minimum-time-to-make-array-sum-at-most-x
翁佳明
·
2024-01-21 14:26
leetcode
算法
职场和发展
【LeetCode每日一题】2809. 使数组和小于等于 x 的最少时间
2024-1-19文章目录[2809.使数组和小于等于x的最少时间](https://
leetcode.cn
/problems/minimum-time-to-make-array-sum-at-most-x
翁佳明
·
2024-01-21 14:26
leetcode
算法
职场和发展
【LeetCode每日一题】2788. 按分隔符拆分字符串
2024-1-20文章目录[2788.按分隔符拆分字符串](https://
leetcode.cn
/problems/split-strings-by-separator/)思路:2788.按分隔符拆分字符串思路
翁佳明
·
2024-01-21 14:54
LeetCode
leetcode
算法
职场和发展
LeetCode 34. 在排序数组中查找元素的第一个和最后一个位置
你必须设计并实现时间复杂度为O(logn)的算法解决此问题链接https://
leetcode.cn
/problems/search-insert-position/个人
fenjijue
·
2024-01-21 13:02
LeetCode
leetcode
算法
数据结构
力扣白嫖日记(sql)
前言练习sql语句,所有题目来自于力扣(https://
leetcode.cn
/problemset/database/)的免费数据库练习题。
Gary.Li
·
2024-01-21 12:19
leetcode
sql
数据库
力扣白嫖日记(sql)
前言练习sql语句,所有题目来自于力扣(https://
leetcode.cn
/problemset/database/)的免费数据库练习题。
Gary.Li
·
2024-01-21 12:19
leetcode
sql
数据库
力扣白嫖日记(sql)
前言练习sql语句,所有题目来自于力扣(https://
leetcode.cn
/problemset/database/)的免费数据库练习题。
Gary.Li
·
2024-01-21 12:49
力扣刷题
leetcode
sql
数据库
LeetCode 2788.按分隔符拆分字符串:模拟(字符串处理)
【LetMeFly】2788.按分隔符拆分字符串:模拟(字符串处理)力扣题目链接:https://
leetcode.cn
/problems/split-strings-by-separator/给你一个字符串数组
Tisfy
·
2024-01-21 11:25
题解
#
力扣LeetCode
leetcode
题解
字符串
模拟
遍历
leetcode竞赛:85 场双周赛
链接:https://
leetcode.cn
/contest/biweekly-contest-85/日期:2022年08月20日1.定长滑动窗口classSolution{public:intminimumRecolors
树不懒
·
2024-01-21 00:37
leetcode
算法
职场和发展
链表的相交
https://
leetcode.cn
/problems/intersection-of-two-linked-lists-lcci/给你两个单链表的头节点headA和headB,请你找出并返回两个单链表相交的起始节点
铁蛋Q
·
2024-01-20 23:08
链表
数据结构
c语言
2809. 使数组和小于等于 x 的最少时间
2809.使数组和小于等于x的最少时间-力扣(LeetCode)https://
leetcode.cn
/problems/minimum-time-to-make-array-sum-at-most-x
云儿乱飘
·
2024-01-20 07:10
#
动态规划经典
算法
dp
上一页
4
5
6
7
8
9
10
11
下一页
按字母分类:
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
其他