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 685. Redundant Connection II 有向图的环的查询 + 并查集Union Find
Inthis
problem
,arootedtreeisadirectedgraphsuchthat,thereisexactlyonenode(theroot)forwhichallothernodesaredescendantsofthisnode
JackZhangNJU
·
2023-10-23 19:40
需要好好想一下的题目
leetcode
For
C++
leetcode
For
Java
[LeetCode] (Hard) 685. Redundant Connection II
https://leetcode.com/
problem
s/redundant-connection-ii/Inthis
problem
,arootedtreeisadirectedgraphsuchthat
Frontier_Setter
·
2023-10-23 19:09
LeetCode
图
LeetCode
LeetCode26题
请参考https://leetcode-cn.com/
problem
s/remove-duplicates-from-sorted-array/思路也是参考了leetcode网站上,这个方法思路不错,就是当有相同的元
zl520k
·
2023-10-23 19:40
【代码随想录Day37】贪心算法
738单调递增的数字https://leetcode.cn/
problem
s/monotone-increasing-digits/从左向右,在第一个递减数前找有几个递增和几个相同,789998,6位数
lisatse0115
·
2023-10-23 17:17
代码随想录
leetcode
算法
【代码随想录Day35】贪心算法
435无重叠区间https://leetcode.cn/
problem
s/non-overlapping-intervals/跟昨天打气球一模一样除了输出时是intervals.length-count
lisatse0115
·
2023-10-23 17:16
代码随想录
算法
leetcode
贪心算法
【代码随想录Day31】贪心算法/DP
455分发饼干https://leetcode.cn/
problem
s/assign-cookies/description/方法一:排序,从小大大遍历饼干,如果饼干太小剩的人里最小胃口的人也不够吃,那么这个饼干浪费
lisatse0115
·
2023-10-23 17:46
代码随想录
leetcode
算法
【代码随想录Day33】贪心算法/DP
1005K次取反后最大化的数组和https://leetcode.cn/
problem
s/maximize-sum-of-array-after-k-negations/description/思想是对从小到大的负数
lisatse0115
·
2023-10-23 17:46
代码随想录
贪心算法
算法
leetcode
【代码随想录Day34】贪心算法
860柠檬水找零https://leetcode.cn/
problem
s/lemonade-change/能找大钱时找大钱留小钱。
lisatse0115
·
2023-10-23 17:46
代码随想录
leetcode
算法
贪心算法
leetcode 1552.两球之间的磁力
https://leetcode-cn.com/
problem
s/magnetic-force-between-two-balls/pic1.png这道题目的解法对我很有启发,所以写下这篇博客,加深理解
YXCoder
·
2023-10-23 16:28
数据结构与算法之图: Leetcode 65. 有效数字 (Typescript版)
有效数字https://leetcode.cn/
problem
s/valid-number/描述有效数字(按顺序)可以分成以下几个部分:一个小数或者整数(可选)一个‘e’或‘E’,后面跟着一个整数小数(
Wang's Blog
·
2023-10-23 15:44
Data
Structure
and
Algorithms
算法
leetcode
数据结构与算法之图: Leetcode 417. 太平洋大西洋水流问题 (Typescript版)
太平洋大西洋水流问题https://leetcode.cn/
problem
s/pacific-atlantic-water-flow/description/描述有一个m×n的矩形岛屿,与太平洋和大西洋相邻
Wang's Blog
·
2023-10-23 15:44
Data
Structure
and
Algorithms
leetcode
算法
数据结构与算法之图: Leetcode 133. 克隆图 (Typescript版)
克隆图https://leetcode.cn/
problem
s/clone-graph/description/描述给你无向连通图中一个节点的引用,请你返回该图的深拷贝(克隆)。
Wang's Blog
·
2023-10-23 15:13
Data
Structure
and
Algorithms
leetcode
算法
209. 长度最小的子数组
长度最小的子数组原题链接:完成情况:解题思路:参考代码:__209长度最小的子数组_nlogn_n__209长度最小的子数组_n_1原题链接:209.长度最小的子数组https://leetcode.cn/
problem
s
Wzideng
·
2023-10-23 14:14
算法知识
#
LeetCode题解
java学习
数据结构
算法
排序算法
java
977. 有序数组的平方
双指针法__977有序数组的平方_端对端大小比较参考代码:__977有序数组的平方_双指针法__977有序数组的平方_端对端大小比较原题链接:977.有序数组的平方https://leetcode.cn/
problem
s
Wzideng
·
2023-10-23 14:13
算法知识
#
LeetCode题解
java学习
java
jvm
算法
数据库
开发语言
76. 最小覆盖子串
76.最小覆盖子串原题链接:参考代码:原题链接:76.最小覆盖子串https://leetcode.cn/
problem
s/minimum-window-substring/description/参考代码
Wzideng
·
2023-10-23 14:43
#
LeetCode题解
算法知识
java学习
算法
数据结构
排序算法
leetcode
88. 合并两个有序数组
88.合并两个有序数组原题链接:完成情况:解题思路:参考代码:原题链接:88.合并两个有序数组https://leetcode.cn/
problem
s/merge-sorted-array/description
Wzideng
·
2023-10-23 14:09
算法知识
#
LeetCode题解
java学习
大数据
人工智能
数据挖掘
算法
java
算法算法
LeetCode 2678. 老人的数目
【LetMeFly】2678.老人的数目力扣题目链接:https://leetcode.cn/
problem
s/number-of-senior-citizens/给你一个下标从0开始的字符串details
Tisfy
·
2023-10-23 14:27
题解
#
力扣LeetCode
leetcode
算法
题解
模拟
字符串
NMP的完整形式是什么?
NMP:不是我的问题(NMP:NotMy
Problem
)NMPisanabbreviationof"NotMy
Problem
".NMP是“不是我的问题”的缩写。
cumubi7552
·
2023-10-23 14:54
python
vue
设计模式
c++
socket
ViewUI
讲解:COMP 3005、Database、SQL、SQLR|Python
DatabaseManagementSystems(Due:Apr.6,2020(11:59PM))COMP3005Project(Winter2020)Instructor:AhmedEl-Roby1.
Problem
StatementDesignandimplementanapplicationforanonlinebookstore
souchuojin
·
2023-10-23 12:50
【35】下降路径最小和
来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problem
s/minimum-falling-path-sum/给你一个nxn的方形整数数组matrix,请你找出并返回通过
公孙剑人
·
2023-10-23 12:25
创建jsp文件时报8080端口被占用,解决办法
报错项目代码:'StartingApacheTomcatv9.0(2)atlocalhost'hasencountereda
problem
.Port8080requiredbyApacheT
初尘屿风
·
2023-10-23 11:41
初尘屿风
jsp
csdn
eclipse
windows
服务器
leetcode刷题 112. 路径总和
题目来源:力扣(LeetCode)题目链接:https://leetcode-cn.com/
problem
s/path-
胡萝卜Carrot
·
2023-10-23 11:06
leetcode刷题
19 从产品到产品矩阵:可复用、能积累、善生死
PSF,是
Problem
-Solution-Fit,问题与解决方案的匹配,这是价值假设,相当于从0到1;PMF,是Product-Market-Fit,产品与市场的匹配,这是增长假设,是从1到N
Leooeloel
·
2023-10-23 10:27
链表的中间结点-力扣
https://leetcode.cn/
problem
s/middle-of-the-linked-list/des
H-yajing
·
2023-10-23 10:30
链表
leetcode
算法
2018-3-31
Ihavebeenattendingmeetingortravelwithotherpeopleforseverldays,andthatletmeknowmany
problem
saboutmyself
驰111
·
2023-10-23 07:00
力扣题解-94. 二叉树的中序遍历
来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problem
s/binary-tree-inorder-traversal著作权归领扣网络所有。
lppamber
·
2023-10-23 06:19
Binary
Tree
二叉树
dfs
leetcode
leetcode 1579. 保证图可完全遍历 - 并查集 - 公共图
题目来源:力扣(LeetCode)和传说链接:https://leetcode-cn.com/
problem
s特别鸣谢:来自夸夸群的醉笑陪公看落花@知乎,王不懂不懂@知乎,QFIUNE@csdn感谢小伙伴们督促学习
Julse
·
2023-10-23 06:11
学习笔记
python
论文导读|9月MSOM文章精选:智慧城市运筹
推荐文章1●题目:TheDriver-Aide
Problem
:CoordinatedLogisticsforLastMileDelivery司机
运筹OR帷幄
·
2023-10-23 06:33
智慧城市
人工智能
【动态规划】leetcode-1262.可被3整除的最大和
思路:参考大佬:https://leetcode-cn.com/
problem
s/greatest-sum-divisible-by-three/solution/20xing-dai-ma-qing-song-shuang-bai-yi-ka-hc1k
柒年时光
·
2023-10-23 05:01
leetcode
Python
LeetCode刷题实战368:最大整除子集数
今天和大家聊的问题叫做最大整除子集,我们先来看题面:https://leetcode-cn.com/
problem
s/largest-divisible-subset/Givenasetofdistinctposi
程序IT圈
·
2023-10-23 05:00
opera
isp
toolbar
gwt
adt
LeetCode 96. 不同的二叉搜索树 | Python
文章目录96.不同的二叉搜索树题目解题思路代码实现实现结果欢迎关注96.不同的二叉搜索树题目来源:力扣(LeetCode)https://leetcode-cn.com/
problem
s/unique-binary-search-trees
"大梦三千秋
·
2023-10-23 05:52
LeetCode
leetcode
算法
python
动态规划
不同的二叉搜索树
aws lambda使用_使用AWS Lambda 1设置
Beforegettingstartedwithlambdasetupletstakealookatourusecaseandhowwelandedonserverlessasasolutiontoour
problem
weixin_26714375
·
2023-10-23 04:15
python
Twitter CEO 11月逛非洲,尼日Kudabank向银行管理费说不,手机非洲造卢旺达首发
Kudabank:TheAnswerToThe
Problem
sFacingNigeria'sBankingSector?
自然看非洲
·
2023-10-23 04:54
AcWing166.数独(dfs+剪枝)
题目:https://www.acwing.com/
problem
/content/168/数独是一种传统益智游戏,你需要把一个9×9的数独补充完整,使得图中每行、每列、每个3×3的九宫格内数字1~9均恰好出现一次
墨韵*
·
2023-10-23 04:44
dfs
每日一题 LeetCode 1838. 最高频元素的频数 java题解
题目https://leetcode-cn.com/
problem
s/frequency-of-the-most-frequent-element/代码classSolution{publicintmaxFrequency
奔跑的废柴
·
2023-10-23 03:26
LeetCode
leetcode
算法
leetcode1838. 最高频元素的频数
原题链接:https://leetcode-cn.com/
problem
s/frequency-of-the-most-frequent-element/题意:元素的频数是该元素在一个数组中出现的次数。
Chevy_cxw
·
2023-10-23 03:22
c/c++
算法设计
leetcode
CSP-J-2022题目及参考代码
参考文章(本文参考代码自己写的,和这个不同)1.乘方https://www.luogu.com.cn/
problem
/P8813#includeusingnamespacestd;usingLL=longlong
鲲鹏混子鱼
·
2023-10-23 03:28
中国电子学会青少年等级考试
算法
c++
青少年编程
CSP/J
思维训练2
题目描述1
Problem
-A-Codeforces题目分析通过题目发现a[1]=d[1],a[i]=d[i]+a[i-1]由于所有的数都为正数,所以只要出现a[i-1]-d[i]>=0这种情况a[i]就可以取为绝对值
Akct
·
2023-10-23 02:54
算法
83. Remove Duplicates from Sorted List
Problem
Givenasortedlinkedlist,deleteallduplicatessuchthateachelementappearonlyonce.Example1:Input:1->
donaldlo
·
2023-10-23 02:19
每日一题@57螺旋矩阵 II
示例:输入:3输出:[[1,2,3],[8,9,4],[7,6,5]]来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problem
s/spiral-matrix-ii
Markzzzzzzz
·
2023-10-23 02:37
力扣每日一题--螺旋矩阵
示例:输入:3输出:[[1,2,3],[8,9,4],[7,6,5]]来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problem
s/spiral-matrix-ii
Kelly-Li
·
2023-10-23 02:36
leetcode
leetcode
数组
Codeforces 356A Knight Tournament线段树区间覆盖
传送门:http://codeforces.com/contest/356/
problem
/AA.KnightTournamenttimelimitpertest3secondsmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputHooray
上决FX
·
2023-10-23 02:50
数据结构
数据结构
c++
codeforces
Contest 2050 and Codeforces Round #718 B. Morning Jogging
题目连接:https://codeforces.com/contest/1517/
problem
/BThe2050volunteersareorganizingthe“Run!
Sankkl1
·
2023-10-23 02:16
codeforces
c++
c语言
C. Medium Design Codeforces Round 904 (Div. 2)
Problem
-C-Codeforces题目大意:有一个长为m的数组初始全为0,有n个区间[li,ri],每选择一个区间就要令区间内所有数+1,要求选择一些区间,使得数组的最大值-最小值最大,求这个差值
timidcatt
·
2023-10-23 00:45
前缀和
差分
算法
c++
数据结构
c语言
H. Mad City Codeforces Round 898 (Div. 4)
Problem
-H-Codeforces题目大意:有一个n个点的图,有n条边,西安有两个人A,B分别位于点a/b,每轮两个人同时开始向相邻点移动,问B有没有可能永远不和A汇合3#includeusingnamespacestd
timidcatt
·
2023-10-23 00:15
bfs
dfs
图论
算法
c++
图论
数据结构
Codeforces Round #816 (Div. 2)
A.Crossmarket题目链接:
Problem
-A-Codeforces样例输入:7755711100000100000572281551样例输出:1515029999834055题意:给定一个n*
AC__dream
·
2023-10-23 00:43
codeforce
codeforce
C. You Are So Beautiful Codeforces Round 905 (Div. 2)
Problem
-C-Codeforces题目大意:有一个长度为n的数组a,问有多少个子串[l,r],满足这个子串作为子序列只在a中出现过一次1#includeusingnamespacestd;typedeflonglongll
timidcatt
·
2023-10-23 00:41
贪心
c语言
开发语言
数据结构
算法
c++
数组元素移除问题
两重循环)0.参考思路原题:来自Leetcode题库27题27.移除元素算法思路(可参考我在Leetcode上写的题解)新手向——python暴力求解移除元素问题https://leetcode.cn/
problem
s
认真编程的紫衫龙王
·
2023-10-22 23:39
数组方法
python
数据结构
数组——移除元素(暴力+双指针)
来源:力扣(LeetCode)链接:https://leetcode.cn/
problem
s/remove-element著作权归领扣网络所有。商
周小兔的大管家
·
2023-10-22 23:07
算法刷题
数组
leetcode
算法
java
大一终极复盘
[
Problem
s]单词会读,会听。但是拼写是总出错。[Suggestions]好好记单词,单词是基础。语法要多多学习,补齐自己的短板。
人文教育1班12潘婷
·
2023-10-22 22:41
上一页
106
107
108
109
110
111
112
113
下一页
按字母分类:
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
其他