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
Problem
LeetCode-15.三数之和
给定数组nums=[-1,0,1,2,-1,-4],满足要求的三元组集合为:[[-1,0,1],[-1,-1,2]]来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problem
悠扬前奏
·
2023-09-16 13:20
LeetCode-热题100-笔记-day29
199.二叉树的右视图https://leetcode.cn/
problem
s/binary-tree-right-side-view/给定一个二叉树的根节点root,想象自己站在它的右侧,按照从顶部到底部的顺序
This_is_code
·
2023-09-16 13:02
leetcode
leetcode
笔记
算法
LeetCode-热题100-笔记-day18
234.回文链表https://leetcode.cn/
problem
s/palindrome-linked-list//***Definitionforsingly-linkedlist.
This_is_code
·
2023-09-16 13:01
leetcode
笔记
算法
LeetCode-热题100-笔记-day19
21.合并两个有序链表https://leetcode.cn/
problem
s/merge-two-sorted-lists/将两个升序链表合并为一个新的升序链表并返回。
This_is_code
·
2023-09-16 13:01
leetcode
leetcode
笔记
算法
LeetCode-热题100-笔记-day17
一、相交链表160.相交链表https://leetcode.cn/
problem
s/intersection-of-two-linked-lists/给你两个单链表的头节点headA和headB,请你找出并返回两个单链表相交的起始节点
This_is_code
·
2023-09-16 13:31
leetcode
leetcode
笔记
算法
LeetCode-热题100-笔记-day22
146.LRU缓存https://leetcode.cn/
problem
s/lru-cache/请你设计并实现一个满足LRU(最近最少使用)缓存约束的数据结构。
This_is_code
·
2023-09-16 13:31
leetcode
leetcode
笔记
linux
LeetCode-热题100-笔记-day23
104.二叉树的最大深度https://leetcode.cn/
problem
s/maximum-depth-of-binary-tree/给定一个二叉树root,返回其最大深度。
This_is_code
·
2023-09-16 13:31
leetcode
leetcode
笔记
算法
LeetCode-热题100-笔记-day13
73.矩阵置零https://leetcode.cn/
problem
s/set-matrix-zeroes/给定一个mxn的矩阵,如果一个元素为0,则将其所在行和列的所有元素都设为0。请使用原地算法。
This_is_code
·
2023-09-16 13:30
leetcode
leetcode
笔记
算法
LeetCode-热题100-笔记-day10
56.合并区间https://leetcode.cn/
problem
s/merge-intervals/以数组intervals表示若干个区间的集合,其中单个区间为intervals[i]=[starti
This_is_code
·
2023-09-16 13:30
leetcode
leetcode
笔记
算法
LeetCode-热题100-笔记-day01
49.字母异位词分组https://leetcode.cn/
problem
s/group-anagrams/给你一个字符串数组,请你将字母异位词组合在一起。可以按任意顺序返回结果列表。
This_is_code
·
2023-09-16 13:00
leetcode
笔记
linux
LeetCode-热题100-笔记-day02
128.最长连续序列https://leetcode.cn/
problem
s/longest-consecutive-sequence/给定一个未排序的整数数组nums,找出数字连续的最长序列(不要求序列元素在原数组中连续
This_is_code
·
2023-09-16 13:00
leetcode
leetcode
笔记
算法
LeetCode-热题100-笔记-day08
560.和为K的子数组https://leetcode.cn/
problem
s/subarray-sum-equals-k/给你一个整数数组nums和一个整数k,请你统计并返回该数组中和为k的连续子数组的个数
This_is_code
·
2023-09-16 13:00
算法
数据结构
leetcode
LeetCode-热题100-笔记-day30
114.二叉树展开为链表https://leetcode.cn/
problem
s/flatten-binary-tree-to-linked-list/给你二叉树的根结点root,请你将它展开为一个单链表
This_is_code
·
2023-09-16 13:58
leetcode
leetcode
笔记
算法
[ERROR] Some
problem
s were encountered while processing the POMs:
maven打包报错:[ERROR][ERROR]Some
problem
swereencounteredwhileprocessingthePOMs:[WARNING]'build.plugins.plugin.version'fororg.springframework.boot
子午谷
·
2023-09-16 13:26
spring
spring
boot
java
图论-分层图
利用这一篇博客记录图论中一类典型题的解题记录-分层图1.P4822[BJWC2012]冻结
problem
4822解法1-spfa+两个队列维护答案从与起点相连的每条边开始遍历,一个队列用于维护每次实行松弛操作更新的点
_NewMoon
·
2023-09-16 12:37
图解匈牙利算法(含python代码)
文章目录分配问题匈牙利算法算法步骤算法实现python版本C++版本分配问题分配问题/指派问题(Assignment
Problem
)作为线性规划问题的一个特例,在运筹学研究中占有重要的地位,一直受到广泛的重视
虾米小馄饨
·
2023-09-16 11:10
Python编程笔记
算法中的数学
算法
python
拓扑学
矩阵
CHAPTER 4: DESIGN A RATE LIMITER
Step1-Understandthe
problem
andestablishdesignscopeRatelimitingcanbeimplementedusingdifferentalgorithmsclient-sideratelimiterorserver-sideAPIratelimiterDoestheratelimiterthrottleAPIrequestsbasedonIP
HuiFeiDeTuoNiaoGZ
·
2023-09-16 10:14
System
Design
系统架构
【Gradle】在Idea中使用Gradle常见构建问题
Gradle常见问题及处理方法Connection连接相关ConnectionResetConnectionresetConnection连接相关ConnectionReset这个问题的报错一般为A
problem
occurredconfiguringrootproje
洛兮777
·
2023-09-16 10:32
intellij-idea
java
gradle
pip某些包发生SSL错误
CouldnotfetchURLhttps://mirrors.aliyun.com/pypi/simple/matplotlib/:Therewasa
problem
confirmingthesslcertificate
加菲猫不爱吃猫粮
·
2023-09-16 06:14
pip
ssl
网络协议
1020. 飞地的数量
1020.飞地的数量原题链接:完成情况:解题思路:参考代码:原题链接:1020.飞地的数量https://leetcode.cn/
problem
s/number-of-enclaves/description
Wzideng
·
2023-09-16 04:18
算法知识
#
LeetCode题解
java学习
算法
java
leetcode
1023. 驼峰式匹配
1023.驼峰式匹配原题链接:完成情况:解题思路:参考代码:原题链接:1023.驼峰式匹配https://leetcode.cn/
problem
s/camelcase-matching/description
Wzideng
·
2023-09-16 04:18
#
LeetCode题解
算法知识
java学习
java
算法
数据结构
1019. 链表中的下一个更大节点
1019.链表中的下一个更大节点原题链接:完成情况:参考代码(1):参考代码(2):参考代码(3):参考代码(4):原题链接:1019.链表中的下一个更大节点https://leetcode.cn/
problem
s
Wzideng
·
2023-09-16 04:18
算法知识
#
LeetCode题解
java学习
链表
数据结构
算法
leetcode
java
1031. 两个非重叠子数组的最大和
1031.两个非重叠子数组的最大和原题链接:完成情况:解题思路:参考代码:原题链接:1031.两个非重叠子数组的最大和https://leetcode.cn/
problem
s/maximum-sum-of-two-non-overlapping-subarrays
Wzideng
·
2023-09-16 04:47
算法知识
#
LeetCode题解
java学习
算法
java
leetcode
分治法
前缀树
Safetynet
论文链接:代码链接:视频链接:safety.l5kit.orgMotivation规则方案传统的SDV的planning任务是一个优化问题optimization
problem
,需要手动设计lossfunction
EEPI
·
2023-09-16 04:21
人工智能
大模型
自动驾驶
算法通关村第十九关:白银挑战-动态规划高频问题
白银挑战-动态规划高频问题1.最少硬币数LeetCode322https://leetcode.cn/
problem
s/coin-change/description/思路分析尝试用回溯来实现假如coins
ListenYin
·
2023-09-16 03:37
算法
动态规划
二、链表(linked-list)
文章目录一、定义二、经典例题(一)[21.合并两个有序链表](https://leetcode.cn/
problem
s/merge-two-sorted-lists/description/)1.思路2
yolo0616
·
2023-09-16 03:05
Agorithm
链表
数据结构
LeetCode(力扣)763. 划分字母区间Python
LeetCode763.划分字母区间题目链接代码题目链接https://leetcode.cn/
problem
s/partition-labels/description/代码classSolution
板砖大的砖头
·
2023-09-16 01:30
leetcode
python
算法
LeetCode(力扣)435. 无重叠区间Python
LeetCode435.无重叠区间题目链接代码题目链接https://leetcode.cn/
problem
s/non-overlapping-intervals/代码classSolution:deferaseOverlapIntervals
板砖大的砖头
·
2023-09-16 01:29
leetcode
python
算法
Year 2038
problem
前情回顾已经知道,对于int了tinyint了这些MySql类型,后面那个4或者11没啥实际意义,只是说(当位数不足时)前面填充多少个0,然后使之变为4位或者11位,对这个类型的字段实际能存的长度没啥影响.即占据1个Byte的tinyint类型,最多就能表征256个不同值.可以表征无符号的连续数字0-255,或者有符号的数字-128到127.char类型括号里的数字和tinyint/int差不多;
techdashen
·
2023-09-16 00:30
后端
区间贪心-
0x00题目地址
Problem
-2037(hdu.edu.cn)0x01分析要尽可能的多看节目,那么就要每一步都选择结束时间最短的,这样就可以留下尽可能多的时间去看别的节目。
爱码蔡蔡子
·
2023-09-15 20:48
机考准备
算法
LeetCode 热题 100(五):54. 螺旋矩阵、234. 回文链表、21. 合并两个有序链表
题目一:54.螺旋矩阵https://leetcode.cn/
problem
s/spiral-matrix/题目要求:思路:一定要先找好边界。
独为我唱
·
2023-09-15 19:03
力扣刷题
leetcode
矩阵
算法
LeetCode 热题 100(七):105. 从前序与中序遍历序列构造二叉树、14. 二叉树展开为链表
题目一:105.从前序与中序遍历序列构造二叉树https://leetcode.cn/
problem
s/construct-binary-tree-from-preorder-and-inorder-traversal
独为我唱
·
2023-09-15 19:03
力扣刷题
leetcode
算法
职场和发展
LeetCode 热题 100(八):贪心。121. 买卖股票的最佳时机、45. 跳跃游戏 II
题目一:121.买卖股票的最佳时机https://leetcode.cn/
problem
s/best-time-to-buy-and-sell-stock/思路:因为时间复杂度O(n),所以使用贪心来做
独为我唱
·
2023-09-15 19:57
力扣刷题
leetcode
算法
贪心算法
C. Salyg1n and the MEX Game Codeforces Round 897 (Div. 2)
Problem
-C-Codeforces题目大意:有一个所有数互不相同的长度为n的数组n,A先手,可以向数组中假如一个没有的数x,B可以从数组中移除一个//#includeusingnamespacestd
timidcatt
·
2023-09-15 18:43
博弈论
c语言
算法
c++
E2. Salyg1n and Array (hard version) Codeforces Round 897 (Div. 2)
Problem
-E2-Codeforces题目大意:有一个隐藏的长度为n的数组a,给出一个整数k,可以询问i,评测机返回[i,i+k-1]区间内的数的异或和,并将这一区间内的数的顺序翻转,要求在57次询问内得到整个数组的异或和
timidcatt
·
2023-09-15 18:43
贪心
算法
数据结构
c++
1867D——Codeforces Round 897 (Div. 2)D题Cyclic Operations
题目链接
Problem
-D-Codeforces题面翻译大致意思就是给你一个长度为n的其中元素值都为0的数组a,和一种操作:构造出一个长度为k的数组l,其中每个元素的值都要在[1,n]以内,然后将每个元素放到中
dcttt
·
2023-09-15 18:43
算法
c++
图论
C. Fill in the Matrix Codeforces Round 896 (Div. 2)
Problem
-C-Codeforces题目大意:给出两个数n,m,要求构造一个n*m的矩阵,满足每一行都是一个m的排列,且每一列的MEX构成数组s,要求MEX(s)最大1//#includeusingnamespacestd
timidcatt
·
2023-09-15 18:13
贪心
算法
c++
数据结构
D. Cyclic Operations Codeforces Round 897 (Div. 2)
Problem
-D-Codeforces题目大意:有一个长度为n的数组a,每次操作可以选取一个长度为k的所有数互不相同的数组b,令a[bi]=b[i%k+1],问能否将一个全为零的数组通过任意次操作得到
timidcatt
·
2023-09-15 18:42
图论
dfs
算法
c++
图论
数据结构
深度优先
LeetCode 面试题 01.06. 字符串压缩
面试题01.06.字符串压缩题目来源:https://leetcode-cn.com/
problem
s/compress-string-lcci题目字符串压缩。
大梦三千秋
·
2023-09-15 17:09
AppStore技术支持网站
邮箱地址:
[email protected]
谢谢DearuserIfyouencounterany
problem
swhenusingourproducts,pleasefeelfreetocontactus
复盘之星
·
2023-09-15 13:35
lintcode 631 · 最大矩阵II【矩阵 中等 vip】
题目https://www.lintcode.com/
problem
/631给出一个只有0和1组成的二维矩阵。找出最大的一个子矩阵,使得这个子矩阵的主对角线元素均为1,其他元素均为0。
赵长辉
·
2023-09-15 12:29
矩阵
算法
Java入坑之代理
包装)了一个代理,这个代理可以控制对目标对象的访问外界不用直接访问目标对象,而是访问代理对象,由代理对象再调用目标对象代理对象中可以添加监控和审查处理-DavidWheeler(函数的发明者):All
problem
sincomputersciencecanbesolvedby
烟雨平生9527
·
2023-09-15 12:19
java
开发语言
链表oj题 && 链表与LinkedList && 栈的概念 && 队列的概念 && 树和二叉树
第1题(编程题)题目名称:求环的入口点题目内容:求环的入口点https://leetcode-cn.com/
problem
s/linked-list-cycle-ii/description/第2题(编程题
念君思宁
·
2023-09-15 10:55
java要笑着学
链表
数据结构
【LeetCode】一文吃透线段树(附例题)
本文大部分内容来自LFool⚡的力扣题解:https://leetcode.cn/
problem
s/my-calendar-ii/solution/by-lfool-nodi/,小部分来自线段树–新手篇
一荤配一素
·
2023-09-15 09:48
算法题
leetcode
算法
线段树
C++
LeetCode No.14被围绕的区域
1.LeetCode130题目链接链接https://leetcode-cn.com/
problem
s/surrounded-regions/comments/2.解题思路该题让找到被X围绕的区域,这并不容易
MRYDM
·
2023-09-15 09:03
leetcode算法题--求1+2+…+n
原题链接:https://leetcode.cn/
problem
s/qiu-12n-lcof/description/?
bob62856
·
2023-09-15 09:37
Algorithm
算法
leetcode
linux
(典题)线段计数 CF690 div3 F
Problem
-F-Codeforces题意:思路:这题没什么性质可言,可以说就是纯纯的套路题既然存在一条线段和其他所有线段相交,不知道是哪条线段,考虑枚举这条线段,然后计数没有交点的线段个数,取min
lamentropetion
·
2023-09-15 09:11
DS
贪心
二分
算法
代码随想录训练营二刷第二十天 | 654.最大二叉树 617.合并二叉树 700.二叉搜索树中的搜索 98.验证二叉搜索树
代码随想录训练营二刷第二十天|654.最大二叉树617.合并二叉树700.二叉搜索树中的搜索98.验证二叉搜索树一、654.最大二叉树题目链接:https://leetcode.cn/
problem
s/
当年拼却醉颜红
·
2023-09-15 06:22
力扣算法题
算法
数据结构
代码随想录训练营二刷第二十一天 | 530.二叉搜索树的最小绝对差 501.二叉搜索树中的众数 236. 二叉树的最近公共祖先
代码随想录训练营二刷第二十一天|530.二叉搜索树的最小绝对差501.二叉搜索树中的众数236.二叉树的最近公共祖先一、530.二叉搜索树的最小绝对差题目链接:https://leetcode.cn/
problem
s
当年拼却醉颜红
·
2023-09-15 06:22
力扣算法题
算法
数据结构
代码随想录训练营二刷第二十二天 | 235. 二叉搜索树的最近公共祖先 701.二叉搜索树中的插入操作 450.删除二叉搜索树中的节点
代码随想录训练营二刷第二十二天|235.二叉搜索树的最近公共祖先701.二叉搜索树中的插入操作450.删除二叉搜索树中的节点一、235.二叉搜索树的最近公共祖先题目链接:https://leetcode.cn/
problem
s
当年拼却醉颜红
·
2023-09-15 06:22
力扣算法题
算法
数据结构
上一页
143
144
145
146
147
148
149
150
下一页
按字母分类:
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
其他