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
PKU图论基础题(转)
PKU图论基础题POJ2449Remmarguts’Date(中等)http://acm.pku.edu.cn/JudgeOnline/
problem
?
走过_冬天
·
2025-06-08 13:17
数据结构与算法
PKU图论基础题
力扣 第314场周赛 Q3 使用机器人打印字典序最小的字符串【难度:中等,rating: 1953】(栈+贪心)
题目链接https://leetcode.cn/
problem
s/using-a-robot-to-print-the-lexicographically-smallest-string/题目来源于:第
nefu-ljw
·
2025-06-08 04:17
力扣-剑指offer
leetcode
算法
贪心算法
栈
【力扣题解 Day 6】1061. 按字典序排列最小的等效字符串
【力扣题解Day6】1061.按字典序排列最小的等效字符串问题思路解题过程复杂度Code问题
Problem
:1061.按字典序排列最小的等效字符串思路模拟解题过程并查集是更好的做法,希望下次能用上。
阳明YM
·
2025-06-07 20:49
力扣(LeetCode)
python
算法
力扣
LeetCode139.单词拆分(动态规划——附图分析)
来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problem
s/word-break示例1:输入:s="leetcode",wordDict=["leet","code
醒然自然醒
·
2025-06-07 20:48
LeetCode
leetcode
双指针:牛的学术圈 I
牛的学术圈Iwww.acwing.com/
problem
/content/3748/计算次数为10510^5105级别,需要使用O(nlogn)O(nlogn)O(nlogn)的算法先将给定的NNN个数进行从大到小的排序
Zephyrtoria
·
2025-06-06 22:47
算法
java
算法
数据结构
Git clone 时 出现SSL certificate
problem
error
出现这个问题的原因是本地默认开启了SSL认证,但是在本地找不到SSL证书,解决办法就是关掉SLL认证。gitclone时加上参数--no-ssl-check。完整的命令应该是:gitclone--no-ssl-checkhttps://github.com.....3.对于单个repo:gitconfighttp.sslVerifyfalse3.对于所有repo:gitconfig--global
2024剑指offer
·
2025-06-06 19:01
经验分享
git
github
234.回文链表 (Python3)
Problem
:234.回文链表思路参考:https://leetcode.cn/
problem
s/palindrome-linked-list/solutions/457059/hui-wen-lian-biao-by-leetcode-solution
Syntax_CD
·
2025-06-06 19:00
LeetCode精选
链表
python
数据结构
leetcode
【中等】AcWing3417. ——砝码称重
见:https://www.acwing.com/
problem
/content/3420/你有一架天平和NN个砝码,这NN个砝码重量依次是W1,W2,⋅⋅⋅,WNW1,W2,···,WN。
CCF_NOI.
·
2025-06-05 21:40
信息学奥赛
C++
STL标准库
算法
数据结构
每日算法刷题Day21 6.3:leetcode二分答案2道题,用时1h20min(有点慢)
3.2982.找出出现至少三次的最长特殊子字符串II(中等,学习)https://leetcode.cn/
problem
s/find-longest-special-substring-that-occurs-thrice-ii
爱coding的橙子
·
2025-06-05 17:05
算法
算法
leetcode
职场和发展
HDU-2973-YAPTCHA(威尔逊定理)
YAPTCHA
Problem
DescriptionThemathdepartmenthasbeenhaving
problem
slately.Duetoimmenseamountofunsolicitedautomatedprogramswhichwerecrawlingacrosstheirpages
Herod_
·
2025-06-05 15:49
算法练习
数论
数论
计算机类专业学生重要竞赛刷题网站
团队队员常用:Codeforceshttp://codeforces.com/
problem
set牛客网https://www.nowcoder.com/ta/acm-training/刷题链接:http
花开盛夏^.^
·
2025-06-05 02:49
大学生竞赛
大学生
计算机类专业
专业竞赛
Leetcode 261. 以图判树
1.2.题目地址https://leetcode.cn/
problem
s/graph-valid-tree/description/2.解题方法2
Benjamin Tang
·
2025-06-04 18:13
leetcode
算法
DFS
并查集
贪心算法应用:多重背包启发式问题详解
多重背包问题定义**多重背包问题(MultipleKnapsack
Problem
)**是背包问题的变种,描述如下:给定一个容量为W的背包有n种物品,每种物品i有:重量w_i价值v_i最大可用数量c_i(
纪元A梦
·
2025-06-03 19:55
贪心算法
贪心算法
算法
java
贪心算法应用:带权任务间隔调度问题详解
问题定义**带权任务间隔调度问题(WeightedIntervalScheduling
Problem
)**描述如下:给定一组任务,每个任务有一个开始时间、结束时间和权重(价值)目标:选择一组互不重
纪元A梦
·
2025-06-03 19:20
贪心算法
贪心算法
算法
java
线段树刷题1
[TJOI2009]开关luogu链接:https://www.luogu.com.cn/
problem
/P3870ps:好好的一道省选题打绿了不说,居然是道橙题!
code自留地
·
2025-06-03 06:18
线段树
cf1873G
原题链接:https://codeforces.com/contest/1873/
problem
/G题目背景:我们拥有一个只包含AB的字符串,我们可以进行两种操作(每次操作都可获得一枚硬币):1.将AB
弥彦_
·
2025-06-03 05:45
codeforces
算法
c++
滑动窗口 -- 灵神刷题
元素都是正数,并且求数量一般都是可以使用滑动窗口长度最小的子数组https://leetcode.cn/
problem
s/minimum-size-subarray-sum/description/classSolution
yb0os1
·
2025-06-03 04:05
java
数据结构
滑动窗口
灵神
day06
第一题https://leetcode.cn/
problem
s/actors-and-directors-who-cooperated-at-least-three-times/submissions/
linux-hzh
·
2025-06-02 23:27
leetcode每日三题
leetcode
算法
java
【算法基础】高精度加减乘除法
目录高精度加法高精度减法高精度乘法高精度除法总结高精度加法题目链接:P1601A+B
Problem
(高精)-洛谷总的思想就是模拟列竖式的加法运算。1)字符串的形式读入两个数据。
UrSpecial
·
2025-06-02 21:41
算法
算法
LeetCode 1524. 和为奇数的子数组数目
题目:https://leetcode.cn/
problem
s/number-of-sub-arrays-with-odd-sum/description/题目分析问题描述:给定一个整数数组arr,返回其中和为奇数的子数组的数目
Coding小公仔
·
2025-06-02 13:46
leetcode
leetcode
算法
LeetCode腾讯50题-Day14-215/217/230
LeetCode50题(17天)-Day14215数组中的第K大个元素题号:215难度:中等https://leetcode-cn.com/
problem
s/kth-largest-element-in-an-array
言成苟文
·
2025-06-01 16:45
LeetCode
腾讯50题
数据结构
leetcode
python
数据结构
算法
Leetcode LCR 187. 破冰游戏
1.2.题目地址https://leetcode.cn/
problem
s/yuan-quan-zhong-zui-hou-
Benjamin Tang
·
2025-05-31 17:02
leetcode
算法
约瑟夫环
Leetcode 465. 最优账单平衡
1.2.题目地址https://leetcode.cn/
problem
s/optimal-account-balancing/descrip
Benjamin Tang
·
2025-05-31 17:02
leetcode
算法
动态规划
状压dp
Leetcode 340. 至多包含 K 个不同字符的最长子串
1.2.题目地址https://leetcode.cn/
problem
s/longest-substring-with-at-most-k-distinct-characters/description
Benjamin Tang
·
2025-05-31 17:01
leetcode
算法
滑动窗口
三门问题python 编程_趣味编程:三门问题
三门问题,也称为蒙提霍尔问题(MontyHall
Problem
)。你在参加一个节目,面前是三扇关闭着的门。其中一扇后面是小汽车,选中它就可赢得汽车,另外两扇后面各是一只羊。
沈忘
·
2025-05-31 05:07
三门问题python
编程
Leetcode刷题指南C++(每日更新)
1.两数之和两数之和https://leetcode-cn.com/
problem
s/two-sum///暴力枚举classSolution{public:vectortwoSum(vector&nums
战士小小白
·
2025-05-30 16:07
leetcode
leetcode
c++
算法
传下去,Visual Studio Code 中的 go 插件报 workspace 错误大概是因为没有以文件夹的方式打开
\worktest2\modtest2",whichisnotincludedinyourworkspace.Tofixthis
problem
,youcanaddthismoduletoyourgo.workfile
·
2025-05-30 09:44
opfunu:优化基准函数的强大Python库
opfunu:优化基准函数的强大Python库opfunuAcollectionofBenchmarkfunctionsfornumericaloptimization
problem
s项目地址:https
滕婉昀Gentle
·
2025-05-30 07:25
day01
第一题https://leetcode.cn/
problem
s/game-play-analysis-i/submissions/632977238/代码#WriteyourMySQLquerystatementbelowSELECTt1
linux-hzh
·
2025-05-30 06:20
leetcode每日三题
算法
mysql
leetcode
java
PTA L1系列题解(C语言)(L1_105 -- L1_112)
文章目录L1-105珍惜生命题目内容题目链接:[传送门](https://pintia.cn/
problem
-sets/994805046380707840/exa
黑不拉几的小白兔
·
2025-05-30 03:22
c语言
开发语言
2025第三届黄河流域网络安全技能挑战赛--Crypto--WriteUp
importgmpy2flag=b'flag{fake_flag}'assertlen(flag)==39p=getPrime(512)q=getPrime(512)n=p*qe=0x3pad1=b'easy_
problem
'pad2
Chen--Xing
·
2025-05-30 02:43
CTF
Crypto
python
密码学
网络安全
Leetcode 3024. Type of Triangle
Problem
Youaregivena0-indexedintegerarraynumsofsize3whichcanformthesidesofatriangle.Atriangleiscalledequilateralifithasallsidesofequallength.Atriangleiscalledisoscelesifithasexactlytwosidesofequallengt
小白菜又菜
·
2025-05-29 13:16
解题报告
Leetcode
leetcode
算法
职场和发展
4月28日
第一题Leetcode51https://leetcode.cn/
problem
s/n-queens/?
椒盐螺丝钉
·
2025-05-29 12:43
深度优先
算法
旅行商问题(TSP)状压DP Python代码
来自Wikipedia的定义Thetravellingsalesman
problem
(alsocalledthetravellingsalesperson
problem
orTSP)asksthefollowingquestion
马正气
·
2025-05-29 10:02
算法#动态规划
python
动态规划
数据结构初阶-顺序表的应用
1.移除元素题目链接:https://leetcode.cn/
problem
s/remove-element/description思路:双指针法,第一个变量src指向原位置的下标,dst变量指向移位后的下标
刚入门的大一新生
·
2025-05-29 08:16
数据结构
LeetCode 209 长度最小的子数组
题目链接中文版:https://leetcode.cn/
problem
s/minimum-size-subarray-sum/description/题目描述给定一个含有n个正整数的数组和一个正整数target
James Shangguan
·
2025-05-29 05:13
LeetCode--Java版
leetcode
算法
java
蓝桥杯-全球变暖
"""https://www.lanqiao.cn/
problem
s/178/learning/?
好无聊啊,烦死
·
2025-05-28 15:08
蓝桥杯
蓝桥杯
DFS
dna与计算机技术,DNA计算与DNA纳米技术
ADLEMANLM.Molecularcomputationofsolutionstocombinatorial
problem
s[J].Science,1994,266(5187):1021–1024.
weixin_39889788
·
2025-05-28 01:56
dna与计算机技术
算法 二叉树最大深度
示例:给定二叉树[3,9,20,null,null,15,7],3/920/157返回它的最大深度3来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problem
s/
Mush1
·
2025-05-27 18:33
算法
二叉树
队列
算法
历年复旦大学保研上机真题
2025复旦大学保研上机真题2024复旦大学保研上机真题2023复旦大学保研上机真题在线测评链接:https://pgcode.cn/
problem
?
猿六凯
·
2025-05-27 06:22
java
开发语言
考研
试论述计算机病毒的防治,计算机病毒的防治论述.doc
图书分类号:密级:毕业设计(论文)论文题目电子商务物流配送存在的问题及对策
Problem
sandCountermeasuresofelectroniccommercelogisticsdistribution
麦文学
·
2025-05-26 22:39
试论述计算机病毒的防治
P1042 [NOIP2003 普及组] 乒乓球
原题链接来自洛谷https://www.luogu.com.cn/
problem
/P1042#includeusingnamespacestd;intnum[100100][2]={0};intmain
jdklll
·
2025-05-26 11:37
c语言
ruskal 最小生成树算法
https://www.lanqiao.cn/
problem
s/17138/learning/并查集+ruskal最小生成树算法Kruskal算法是一种用于在加权无向连通图中寻找最小生成树(MST)的经典算法
19要加油
·
2025-05-26 07:39
算法
《算法导论(第4版)》阅读笔记:p127-p133
一、技术总结1.probabilisticanalysis(概率分析)(1)定义Probabilisticanalysisistheuseofprobabilityintheanalysisof
problem
s
codists
·
2025-05-26 01:59
读书笔记
算法
LeetCode 3362.零数组变换 III:贪心+优先队列+差分数组——清晰题解
【LetMeFly】3362.零数组变换III:贪心+优先队列+差分数组——清晰题解力扣题目链接:https://leetcode.cn/
problem
s/zero-array-transformation-iii
Tisfy
·
2025-05-26 00:52
题解
#
力扣LeetCode
leetcode
算法
题解
优先队列
贪心
差分数组
LeetCode 25. Reverse Nodes in k-Group
原题目:https://leetcode-cn.com/
problem
s/reverse-nodes-in-k-group/思路:找出长度为k的子链表,用pre表示head的上一个节点,nex表示tail
庾信平生最萧瑟
·
2025-05-24 11:21
LeetCode
链表翻转
USST新生训练赛3KLMN
题解前言题解部分KPashmakandParmida's
problem
(1800)题目大意题解参考代码LPashmakandGraph(1900)题目大意题解参考代码MLuckyChains(1600)
Fighter_sky
·
2025-05-24 07:20
题解
C++
acm
回溯 力扣hot100热门面试算法题 面试基础 核心思路 背题 括号生成 单词搜索 分割回文串 N皇后 全排列 子集 电话号码的字母组合 组合总和
回溯括号生成https://leetcode.cn/
problem
s/generate-parentheses/核心思路深度优先搜索(DFS):DFS是探索所有可能路径的方法,这里用于生成括号组合。
尘土哥
·
2025-05-24 06:40
算法
leetcode
面试
LeetCode 925. 长按键入 java题解
https://leetcode.cn/
problem
s/long-pressed-name/description/classSolution{publicbooleanisLongPressedName
奔跑的废柴
·
2025-05-23 10:57
LeetCode
leetcode
java
算法
双指针
LeetCode 129. 求根节点到叶节点数字之和 java题解
https://leetcode.cn/
problem
s/sum-root-to-leaf-numbers/description/classSolution{intres=0;publicintsumNumbers
奔跑的废柴
·
2025-05-23 10:27
leetcode
java
算法
上一页
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
其他