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
周赛题目小结
蓝桥杯2013年第四届真题-带分数":https://www.dotcpp.com/oj/contest4607_
problem
3.html题目思路:用全排列计算出这些数字的排列情况,接着把排列出来的数字分成三段
算法 王耀民
·
2023-11-15 03:57
笔记
总结
学习
C++ OJ习题练习(三)函数重载
Problem
Description编写重载函数min(),分别计算int、double、float、long类型数组中的最小值。
小宇0926
·
2023-11-15 00:09
C/C++
c++
oj系统
C++ OJ习题练习(二十一)设计整型链表类List
Problem
Description设计一个整型链表类List,能够实现链表节点的插入(insert)、删除(delete),以及链表数据的输出操作(print)。
小宇0926
·
2023-11-15 00:09
C/C++
c++
链表
oj系统
C++ OJ习题练习(一)打印图形
Problem
Description拟用setw、cout和for循环编写程序,打印输出“输出样例”中的图形。
小宇0926
·
2023-11-15 00:39
C/C++
c++
oj系统
Leetcode刷题80. 删除排序数组中的重复项 II
来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problem
s/remove-duplicates-from-sorted-array-ii著作权归领扣网络所有。
Bonbon_wen
·
2023-11-15 00:04
数组
数组
双指针
模拟散列表(哈希表)模板
模板题:https://www.acwing.com/
problem
/content/842/拉链法#include#include#includeusingnamespacestd;constintN
B0tton
·
2023-11-15 00:39
算法笔记
散列表
图论
c++
GreenCloud VPS 重装系统后无法 SSH 的解决方法
操作过程TuPhamOperator客服Hello,Wehavefixedyour
problem
,pleasetryagain!Thanks!
追烽
·
2023-11-14 23:52
ssh
运维
LeetCode刷题实战55:跳跃游戏
今天和大家聊的问题叫做跳跃游戏,我们先来看题面:https://leetcode-cn.com/
problem
s/jump-game/Givenanarrayofnon-negativeintegers
程序IT圈
·
2023-11-14 22:21
算法
动态规划
leetcode
算法导论
贪心算法
A. Weird Sum
题目链接:
Problem
-1648A-Codeforces题面:题意:输入nm(1≤n*m≤1e5)和n行m列的矩阵a,元素范围[1,1e5]。
ros275229
·
2023-11-14 22:24
CF
算法学习
算法
c++
常见问题汇总
1Therewasa
problem
confirmingthesslcertificate:[SSL:TLSV1_ALERT_PROTOCOL_VERSION]tlsv1alertprotocolversion
mxlwd168
·
2023-11-14 21:52
工具
ssl
解决方案
LeetCode 674. 最长连续递增序列【Python】
674.最长连续递增序列题目来源:力扣(LeetCode)https://leetcode-cn.com/
problem
s/longest-continuous-increasing-subsequence
"大梦三千秋
·
2023-11-14 20:58
LeetCode
算法
leetcode
python
双指针
【LeetCode】 121. Best Time to Buy and Sell Stock 买卖股票的最佳时机(Easy)(JAVA)
【LeetCode】121.BestTimetoBuyandSellStock买卖股票的最佳时机(Easy)(JAVA)题目地址:https://leetcode.com/
problem
s/best-time-to-buy-and-sell-stock
吴中乐
·
2023-11-14 19:45
Leetcode
leetcode
java
数据结构
算法
动态规划
leetcode122. Best Time to Buy and Sell Stock II 买卖股票的最佳时机 II(简单)
一、题目大意标签:贪心https://leetcode.cn/
problem
s/best-time-to-buy-and-sell-stock-ii给你一个整数数组prices,其中prices[i]表示某支股票第
okokabcd
·
2023-11-14 19:12
LeetCode每日一题
leetcode
贪心算法
数据结构
leetcode 121 Best Time to Buy and Sell Stock 买卖股票的最佳时机(简单)
一、题目大意标签:动态规划https://leetcode.cn/
problem
s/best-time-to-buy-and-sell-stock给定一个数组prices,它的第i个元素prices[i
okokabcd
·
2023-11-14 19:42
LeetCode每日一题
leetcode
算法
动态规划
leetcode: 121. Best Time to Buy and Sell Stock
DifficultyEasy.
Problem
Sayyouhaveanarrayforwhichtheithelementisthepriceofagivenstockondayi.Ifyouwereonlypermittedtocompleteatmostonetransaction
JNingWei
·
2023-11-14 19:06
LeetCode-Python
LeetCode解题报告:121. Best Time to Buy and Sell Stock
Problem
Sayyouhaveanarrayforwhichtheithi^{th}ithelementisthepriceofagivenstockondayi.Ifyouwereonlypermittedtocompleteatmostonetransaction
子为空
·
2023-11-14 19:05
LeetCode
LeetCode
Python : subprocess-exited-with-error
问题:安装playsound模块时报错:note:Thiserrororiginatesfromasubprocess,andislikelynota
problem
withpip.error:subprocess-exited-with-error
消八哥
·
2023-11-14 19:54
python
开发语言
Center Smoothing Certified Robustness for Networks with Structured Outputs
文章目录CenterSmoothing:CertifiedRobustnessforNetworkswithStructuredOutputsSummaryResearchObjective
Problem
StatementMethodsEvaluationConclusionNotesGaussianSmoothing
梦码城
·
2023-11-14 18:38
论文阅读
人工智能
异质图神经网络
表示学习
certified
robustness
数据结构初阶之顺序表数组OJ题一——移除元素
题目链接:https://leetcode-cn.com/
problem
s/remove-element解题思路:本题最简单的方法是采用双指针做法:先创建两个变量dest和src指向第一个元素然后,当src
Hiland.
·
2023-11-14 17:14
#
练习题
#
初级数据结构
#
C语言
数据结构
c语言
力扣打卡 1334-阈值距离内邻居最少的城市
Problem
:1334.阈值距离内邻居最少的城市思路这道题要求找到在给定的阈值距离内,具有最少邻居城市数量的城市。我们可以使用Floyd算法来解决这个问题。
BobW7
·
2023-11-14 16:28
leetcode
算法
数据结构
Leetcode 1334. 阈值距离内邻居最少的城市
Leetcode1334.阈值距离内邻居最少的城市1、问题分析2、问题解决3、总结1、问题分析题目链接:https://leetcode-cn.com/
problem
s/find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance
qq_32510597
·
2023-11-14 16:27
LeetCode
c++
leetcode
folyd
佛洛依德算法
LeetCode内存泄露
安装google浏览器报错
安装google浏览器报错dpkg:errorprocessingpackagegoogle-chrome-stable(–install):dependency
problem
s-leavingunconfiguredProcessingtriggersforgnome-menus
计算机CV民工
·
2023-11-14 15:35
小Tips
办公
【数据结构与算法】---OJ手撕链表题
作者:旧梦拾遗186专栏:数据结构成长日记目录链表的中间结点题解链表中倒数第k个结点描述题解链表的分割描述题解链表的中间结点链表的中间结点https://leetcode.cn/
problem
s/middle-of-the-linked-list
旧梦拾遗186
·
2023-11-14 13:49
数据结构成长日记
链表
数据结构
c语言
算法
c++
Nwafu-OJ-1485
Problem
o C语言实习题八——单链表结点的阶乘和
问题:C语言实习题八——单链表结点的阶乘和时间限制:1Sec内存限制:128MB提交:5120解决:1555[提交][状态][讨论版]题目描述要求实现一个函数,求单向链表L中所有结点的Data域的阶乘和。默认所有结点的值非负,且题目保证结果在int范围内。函数接口定义:intFactorialSum(ListL);其中单链表List的定义如下:typedefstructNode*PtrToNode
花逝、浅笑
·
2023-11-14 13:42
Nwafu-OJ
c语言
数据结构与算法题目集7-40——奥运排行榜
我的数据结构与算法题目集代码仓:https://github.com/617076674/Data-structure-and-algorithm-topic-set原题链接:https://pintia.cn/
problem
-sets
清風逐尘乀
·
2023-11-14 13:29
数据结构与算法题目集
数据结构与算法题目集
排序
奥运排行榜
AtCoder ABC 306 解析
A-EchoB-Base2C-CentersD-PoisonousFull-CourseA-EchoTimeLimit:2sec/MemoryLimit:1024MBScore:100100points
Problem
StatementYouaregivenastringSSoflengthNNconsistingoflowercaseEnglishletters.Wedenotetheii-t
gechengxiu
·
2023-11-14 13:57
atcoder
abc
c++
2023.2.12(总结)
C-Don’tbecycleEditorial/TimeLimit:2sec/MemoryLimit:1024MBScore:300300points
Problem
StatementYouaregivenasimpleundirectedgraphwithNNverticesandMMed
小郭同学1564
·
2023-11-14 12:17
c语言
算法
图论
2023.9.19训练补题
1.
Problem
-1739C-Codeforces这道题不是很好理解,给出的操作很多。题意简述:给你一个树的结构,让你给这个树赋点权(1∼n的排列)。
jameslhn
·
2023-11-14 12:47
深度优先
算法
图论
[Acwing] 1068. 环形石子合并 区间DP
前言传送门:https://www.acwing.com/
problem
/content/1070/没想到感冒一会,就两天没做题了,真恐怖QAQ思路朴素做法:对于n个点,我们需要合并n-1次,因此我们有
*DDL_GzmBlog
·
2023-11-14 11:47
#
基础动态规划
动态规划
算法
《深入浅出进阶篇》洛谷P4147 玉蟾宫——悬线法dp
上链接:P4147玉蟾宫-洛谷|计算机科学教育新生态(luogu.com.cn)https://www.luogu.com.cn/
problem
/P4147上题干:有一个NxM的矩阵,每个格子里写着R或者
louisdlee.
·
2023-11-14 09:32
洛谷深入浅出进阶篇
算法
c++
CodeForces242E XOR on Segment (线段树+二进制拆位
题目链接:http://codeforces.com/
problem
set/
problem
/242/E题意:给出n个点,m次操作,1xy:查询区间x-y的和,2lrx,区间l-r每个数都异或x;思考:我们可以很容易的想到
Yishui_Blog
·
2023-11-14 07:47
CodeForces 242E XOR on Segment 二维线段树
题目链接:http://codeforces.com/
problem
set/
problem
/242/E题意:给定一个长度为n的数组,然后有两种操作。
lqdandelion
·
2023-11-14 07:43
线段树
CodeForces
242E
XOR-on-Seg
二维线段树
Codeforces Round #149 (Div. 2) E. XOR on Segment 线段树
链接:http://codeforces.com/contest/242/
problem
/E题意:维护一个长度为n的数列,有2中操作1.询问[l,r]的区间和2.将[l,r]之间的所有数都异或x题解:用线段树来维护每一位
花海つ
·
2023-11-14 07:40
拆位线段树 E. XOR on Segment
Problem
-E-Codeforces区间求和,区间异或的操作跟线段树的区间求和、区间相见相似,考虑用线段树。发现数组初始值最多是1e6,有不到25位,可以知道异或最大值是这些位数全是1的情况。
golemon.
·
2023-11-14 07:09
算法题
cf
算法
数据结构
数据结构【字符串】| leetcode 189. 轮转数组(中等)
代码链接:https://leetcode.cn/
problem
s/rotate-array/solution/lai-zi-bei-da-suan-fa-ke-de-leetcodeti-j-lqfw
m0_73522647
·
2023-11-14 06:39
字符串
leetcode
LeetCode 题解 —— 5551. 使字符串平衡的最少删除次数
题目相关题目链接LeetCode中国,https://leetcode-cn.com/contest/biweekly-contest-39/
problem
s/minimum-deletions-to-make-string-balanced
努力的老周
·
2023-11-14 06:08
OJ题解
#
LeetCode题解
LeetCode
LeetCode题解
5551
力扣429.N叉树的层序遍历(Java BFS解法)
Problem
:107.二叉树的层序遍历II文章目录思路解题方法复杂度Code同类型补充题:思路BFS的核心是借助队列,将树的每一层节点先添加到其中,再在处理当前层时(将当前层的节点出队列)同时将下一层的节点添加到队列中
LNsupermali
·
2023-11-14 05:31
力扣题目
leetcode
java
宽度优先
表达式求值(中缀转后缀)
表达式求值https://www.acwing.com/
problem
/content/3305/首先进行中缀转后缀,然后根据后缀表达式求值。
青铜世纪
·
2023-11-14 05:26
数据结构
c++
算法
蓝桥杯
数据结构
快速排序中的下标问题
快速排序https://www.acwing.com/
problem
/content/787/详细解释在这篇文章(https://blog.csdn.net/Joker15517/article/details
青铜世纪
·
2023-11-14 05:56
算法
c++
算法
数据结构
leetcode刷题记录总结-7.二叉树
、二叉树理论二叉树的种类满二叉树完全二叉树二叉搜索树平衡二叉搜索树二叉树的存储方式二叉树的遍历方式二叉树的定义总结一、二叉树的遍历[144.二叉树的前序遍历](https://leetcode.cn/
problem
s
天生我才~~
·
2023-11-14 04:40
数据结构与算法
leetcode
算法
数据结构
c++
LeetCode刷题实战304:二维区域和检索 - 矩阵不可变
今天和大家聊的问题叫做二维区域和检索-矩阵不可变,我们先来看题面:https://leetcode-cn.com/
problem
s/range-sum-query-2d-immutable/示例给定matrix
程序IT圈
·
2023-11-14 04:37
算法
算法导论
微软
哈希
matrix
算法训练营DAY53|392.判断子序列、115.不同的子序列
392.判断子序列-力扣(LeetCode)https://leetcode.cn/
problem
s/is-subsequence/判断子序列这道题目,和上一期的题解法几乎完全相同,只是递推公式有一点差别
让你明白算法!
·
2023-11-14 02:13
训练营
leetcode
算法
职场和发展
动态规划
LeetCode 25. K 个一组翻转链表 | Python
文章目录25.K个一组翻转链表题目解题思路代码实现实现结果25.K个一组翻转链表题目来源:https://leetcode-cn.com/
problem
s/reverse-nodes-in-k-group
"大梦三千秋
·
2023-11-14 00:10
LeetCode
k个一组翻转链表
leetcode
指针
python
LeetCode25.k个一组翻转链表
题目来源:https://leetcode-cn.com/
problem
s/reverse-nodes-in-k-group/description/题目描述:该题目是对反转一个链表的升级版。
晨初听雨
·
2023-11-14 00:08
LeetCode
反转链表
K个一组翻转链表
LeetCode25
LeetCode
链表
力扣labuladong一刷day8共2题
力扣labuladong一刷day8共2题704.二分查找题目链接:https://leetcode.cn/
problem
s/binary-search/思路:很经典的题目,二分查找写的时候要注意循环不变量
当年拼却醉颜红
·
2023-11-14 00:09
力扣算法题
leetcode
算法
数据结构
二分查找
力扣labuladong一刷day7共3题
题文章目录力扣labuladong一刷day7共3题一、216.组合总和III二、111.二叉树的最小深度三、752.打开转盘锁一、216.组合总和III题目链接:https://leetcode.cn/
problem
s
当年拼却醉颜红
·
2023-11-14 00:08
力扣算法题
leetcode
算法
回溯算法
二叉树
广度优先
92. 反转链表 II
示例:输入:1->2->3->4->5->NULL,m=2,n=4输出:1->4->3->2->5->NULL来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problem
s
「已注销」
·
2023-11-13 23:32
Leetcode
力扣.206剑24.反转链表+92.反转从位置m到n的链表
1、题目描述https://leetcode-cn.com/
problem
s/reverse-linked-list/输入一个链表,反转链表后,输出新链表的表头。
NLP_victor
·
2023-11-13 23:17
牛客
LinkedList
剑指offer
链表
205. 同构字符串python
来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problem
s
天天向上的程序猿
·
2023-11-13 23:07
力扣
python
leetcode
算法
数据结构与算法之排序: Leetcode 21. 合并两个有序链表 (Typescript版)
合并两个有序链表https://leetcode.cn/
problem
s/merge-two-sorted-lists/描述将两个升序链表合并为一个新的升序链表并返回。
Wang's Blog
·
2023-11-13 21:34
Data
Structure
and
Algorithms
leetcode
链表
算法
上一页
85
86
87
88
89
90
91
92
下一页
按字母分类:
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
其他