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
work->problem
力扣hot100 组合总和 回溯 剪枝 组合
Problem
:39.组合总和文章目录思路复杂度Code思路复杂度时间复杂度:O(n)O(n)O(n)空间复杂度:O(n)O(n)O(n)CodeclassSolution{List>res=newArrayList
兑生
·
2024-01-30 23:35
力扣
hot100
leetcode
剪枝
算法
力扣hot100 括号生成 递归回溯 超简洁版
Problem
:22.括号生成Code使用static会被复用classSolution{Listans=newArrayListgenerateParenthesis(intn){dfs(n,n,""
兑生
·
2024-01-30 23:35
力扣
hot100
leetcode
算法
职场和发展
力扣hot100 单词搜索 深度优先搜索 特殊字符判重
Problem
:79.单词搜索CodeclassSolution{intn,m;char[][]b;Stringword;int[]dx={1,0,-1,0};int[]dy={0,1,0,-1};publicbooleanexist
兑生
·
2024-01-30 23:35
力扣
hot100
leetcode
深度优先
算法
力扣hot100 分割回文串 集合 dfs
Problem
:131.分割回文串文章目录思路CodeDP预处理版思路参考题解Codeimportjava.util.ArrayDeque;importjava.util.ArrayList;importjava.util.Deque
兑生
·
2024-01-30 23:03
力扣
hot100
leetcode
深度优先
算法
C++——三角形
Triangle来源:洛谷https://www.luogu.com.cn/
problem
/CF6A题面翻译题目描述给定444根木棍的长度,如果它们中存在333根木棍可以组成三角形,输出TRIANGLE
博学多才yyds
·
2024-01-30 22:04
C++
c++
算法
开发语言
【第七天】蓝桥杯备战
题1、最大距离2、最长递增1、最大距离https://www.lanqiao.cn/
problem
s/155/learning/解法:暴力遍历importjava.util.Scanner;//1:无需
小舒不服输
·
2024-01-30 22:58
蓝桥杯备战刷题
蓝桥杯
职场和发展
算法
java
二叉树的最大深度
https://leetcode.cn/
problem
s/maximum-depth-of-binary-tree/solutions/349250/er-cha-shu-de-zui-da-shen-du-by-leetcode-solution
夹心宝贝
·
2024-01-30 22:50
二叉树OJ
二叉树
C
翻转二叉树
https://leetcode.cn/
problem
s/invert-binary-tree/description/?
夹心宝贝
·
2024-01-30 22:50
二叉树OJ
二叉树
二叉树的中序遍历
https://leetcode.cn/
problem
s/binary-tree-inorder-traversal/description/?
夹心宝贝
·
2024-01-30 22:20
二叉树OJ
二叉树
C
C++
对称二叉树
https://leetcode.cn/
problem
s/symmetric-tree/?envType=study-plan-v2&envId=top-100-liked对称二叉树即镜像二叉树。
夹心宝贝
·
2024-01-30 22:48
二叉树OJ
二叉树
C
机器学习-白板推导系列(六)(2) - 约束优化问题
6.约束优化问题6.1弱对偶性证明6.1.1概述约束优化问题约束优化问题的原问题(Primal
Problem
)\color{red}原问题(Primal
Problem
)原问题(Primal
Problem
Paul-Huang
·
2024-01-30 20:09
机器学习-白板推导
支持向量机
机器学习
Leetcode93. 复原 IP 地址
题目传送:https://leetcode.cn/
problem
s/restore-ip-addresses/submissions/运行效率:代码如下:publicstaticListrestoreIpAddresses
Java全栈研发大联盟
·
2024-01-30 19:16
数据结构和算法
leetcode
算法
职场和发展
Neural Improvement Heuristics for Graph Combinatorial Optimization
Problem
s
NeuralImprovementHeuristicsforGraphCombinatorialOptimization
Problem
sIEEETRANSACTIONSONNEURALNETWORKSANDLEARNINGSYSTEMS2023
Namnan
·
2024-01-30 17:33
组合优化
人工智能
算法
为什么“分层”给我们带来好处——论软件工程的分层概念
All
problem
sincomputersciencecanbesolvedbyanotherlevelofindirection--DavidWheeler计算机科学中的任何问题,都可以通过加上一层逻辑层来解决
翟志军
·
2024-01-30 17:27
2.A Simple
Problem
with Integers
2.ASimple
Problem
withIntegersYouhaveNintegers,A1,A2,...,AN.Youneedtodealwithtwokindsofoperations.Onetypeofoperationistoaddsomegivennumbertoeachnumberinagiveninterval.Theotheristoaskforthesumofnumbersin
miaozasnone
·
2024-01-30 17:31
Codeforces Round 835 (Div. 4)
目录A.MediumNumberB.Atilla’sFavorite
Problem
C.AdvantageD.ChallengingValleysE.BinaryInversionsF.QuestsG.SlavicG
梦念小袁
·
2024-01-30 16:55
div4
算法
Matrix DP - 64. Minimum Path Sum
https://leetcode.com/
problem
s/minimum-path-sum/description/这个题目写了三遍,才写出正确的Solution。前两个错误,都是因为初始化错误。
Super_Alan
·
2024-01-30 14:25
LeetCode-242-有效的字母异位词
来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problem
s/valid-anagr
雄狮虎豹
·
2024-01-30 13:33
LeetCode·面试题 02.07.链表相交·双指针
链接:https://leetcode.cn/
problem
s/intersection-of-two-linked-lists-lcci/solution/by-xun-ge-v-4rpz/来源:力扣
迅~
·
2024-01-30 10:41
LeetCode刷题笔记
链表
leetcode
数据结构
LeetCode-203-移除链表元素
来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problem
s/remove-linked-list-elements/著作权归领扣网络所有。
雄狮虎豹
·
2024-01-30 10:10
leetcode 第611题-有效三角形的个数
链接:https://leetcode-cn.com/
problem
s/valid-triangle-number/packageleetcodeimport"sort"funcTriangleNumber
一对码农
·
2024-01-30 08:33
力扣hot100 柱状图中最大的矩形 单调栈
Problem
:84.柱状图中最大的矩形文章目录思路复杂度Code思路参考地址复杂度时间复杂度:O(n)O(n)O(n)空间复杂度:O(n)O(n)O(n)CodeclassSolution{publicstaticintlargestRectangleArea
兑生
·
2024-01-30 08:31
力扣
hot100
leetcode
算法
职场和发展
LeetCode题5:用两个栈实现队列(Java实现)
分别完成在队尾插入节点和队头删除节点的功能Java语言实现importjava.util.Stack;/***用两个栈实现队列*用两个栈实现队列,分别完成队头删节点,队尾加节点*/publicclass
problem
5
2401号行者
·
2024-01-30 08:09
leetcode
栈
java
队列
数据结构
LeetCode 232 用栈实现队列 - Java 实现
1.题目原题链接:232.用栈实现队列-力扣(LeetCode):https://leetcode.cn/
problem
s/implement-queue-using-stacks/请你仅使用两个栈实现先入先出队列
零一魔法
·
2024-01-30 08:36
LeetCode
java
leetcode
算法
最大连续子串
题目链接:http://codeup.cn/
problem
.php?
小幸运Q
·
2024-01-30 08:58
【LeetCode】263. Ugly Number 丑数(Easy)(JAVA)
【LeetCode】263.UglyNumber丑数(Easy)(JAVA)题目地址:https://leetcode.com/
problem
s/ugly-number/题目描述:Writeaprogramtocheckwhetheragivennumberisanuglynumber.Uglynumbersarepositivenumberswhoseprimefactorsonlyinclud
吴中乐
·
2024-01-30 05:49
Leetcode
java
leetcode
算法
面试
数据结构
263. Ugly Number(数字类型题目)
problem
:Writeaprogramtocheckwhetheragivennumberisanuglynumber.Uglynumbersarepositivenumberswhoseprimefactorsonlyinclude2,3,5
Hcaroline
·
2024-01-30 05:19
每日Leetcode
leetcode
263. Ugly Number 丑数
https://leetcode.com/
problem
s/ugly-number/Writeaprogramtocheckwhetheragivennumberisanuglynumber.Uglynumbersarepositivenumberswhoseprimefactorsonlyinclude2,3,5
知之可否
·
2024-01-30 05:49
leetcode
979. 在二叉树中分配硬币
题目描述https://leetcode-cn.com/
problem
s/distribute-coins-in-binary-tree/思路这个思路我没想出来,喵了一眼答案没喵懂。
lazy_ccccat
·
2024-01-30 05:18
数学建模学习笔记||一文了解美赛论文如何写作
目录编辑Title/标题要求形式SummarySheet/摘要要求三要素书写特点内容开头段中间段格式内容结尾段关键词Contents/目录Introduction/引言
Problem
Background
展信佳 :)
·
2024-01-30 04:32
数学建模
学习
笔记
1.29学习总结
2.树状数组2(区间修改,单点查询)并查集并查集的效率很高,复杂度在O(logn),操作简短,主要是初始化,寻找函数find,合并函数union并查集https://www.luogu.com.cn/
problem
啊这泪目了
·
2024-01-30 02:09
学习
1.28学习总结
oibh总部(DFS+连通性问题)3.国王的魔镜(递归)4.回家(BFS+三维的标记)5.取数游戏(DFS)6.数的划分(递归)求区间所有后缀最大值的位置https://www.luogu.com.cn/
problem
啊这泪目了
·
2024-01-30 02:39
深度优先
算法
The Skyline
Problem
218.TheSkyline
Problem
Acity'sskylineistheoutercontourofthesilhouetteformedbyallthebuildingsinthatcitywhenviewedfromadistance.Nowsupposeyouaregiventhelocationsandheightofallthebuildingsa
野生小熊猫
·
2024-01-30 01:08
[Leetcode学习-c++&java]Maximum Frequency Stack(最大频次栈)
题目连接:https://leetcode.com/
problem
s/maximum-frequency-stack/submissions/输入范围:CallstoFreqStack.push(intx
qq_28033719
·
2024-01-30 01:18
Java
C++
代码随想录算法训练营day4 | 链表(2)
一、LeetCode24两两交换链表中的节点题目链接:24.两两交换链表中的节点https://leetcode.cn/
problem
s/swap-nodes-in-pairs/思路:设置快慢指针,暂存节点逐对进行交换
橙南花已开
·
2024-01-30 00:13
代码随想录算法训练营
算法
链表
数据结构
基于 Flask-Admin 与 AdminLTE 构建通用后台管理系统
Inaworldofmicro-servicesandAPIs,Flask-Adminsolvestheboring
problem
ofbuildinganadmininterfaceontopofanexistingdatamodel.Withlittleeffort
Pierre_
·
2024-01-29 23:32
IT技术架构
#
Flask
Python
flask
python
后端
合并有序链表---链表OJ---归并思想
https://leetcode.cn/
problem
s/merge-two-sorted-lists/?
夹心宝贝
·
2024-01-29 22:47
链表OJ题
链表
数据结构
Neural Computation of Decisions in Optimization
Problem
s
NeuralComputationofDecisionsinOptimization
Problem
sJ.J.Hopfield,D.W.TankBiologicalCybernetics,1985IntroductionFromtheperspectiveofneuroscience
MasterXiong
·
2024-01-29 22:28
【周赛】第382场周赛
【1】按键变更的次数100215.按键变更的次数https://leetcode.cn/
problem
s/number-of-changing-keys/这个题目过于简单,追求速度
A_SHOWY
·
2024-01-29 21:27
算法
力扣
Leetcode-763:划分字母区间
题目链接https://leetcode-cn.com/
problem
s/partition-labels/题目字符串S由小写字母组成。
道纪书生
·
2024-01-29 20:08
Leetcode
leetcode
算法
c++
字符串
难度:中等
「leetcode」763.划分字母区间【贪心算法】详细图解
763.划分字母区间题目链接:https://leetcode-cn.com/
problem
s/partition-labe
代码随想录
·
2024-01-29 20:08
leecode题解
算法
leetcode
python
字符串
Codeforces Round 921 (Div. 2)补题
(
Problem
-A-Codeforces)题目大意:要求找出一个长度最短的字符串,满足任意由前k个字母组成的长度为n的字符串都是它的子序列。输出字符串。
as_sun
·
2024-01-29 20:02
codeforces补题
算法
力扣白嫖日记(sql)
前言练习sql语句,所有题目来自于力扣(https://leetcode.cn/
problem
set/database/)的免费数据库练习题。
Gary.Li
·
2024-01-29 20:01
力扣刷题
leetcode
sql
数据库
Atcoder ABC335 A-D题解
比赛链接:ABC335
Problem
A:签到题。
seanli1008
·
2024-01-29 19:30
题解
其他
Atcoder ABC336 A-D题解
老规矩,比赛链接:ABC336
Problem
A:签到题耶。
seanli1008
·
2024-01-29 19:30
题解
其他
Atcoder ABC337 A-D题解
比赛链接:ABC337
Problem
A:日常签到题。
seanli1008
·
2024-01-29 19:30
题解
其他
代码随想录算法训练营Day42|0-1背包理论基础、416. 分割等和子集
背包理论基础0-1背包问题二维dp数组01背包算法实现一维dp数组01背包编辑算法实现416.分割等和子集前言思路算法实现总结0-1背包理论基础0-1背包问题题目链接https://kamacoder.com/
problem
page.php
张金卓2023
·
2024-01-29 19:48
算法
BZOJ-1853: [Scoi2010]幸运数字 && 2393: Cirno的完美算数教室(容斥原理)
题目:http://www.lydsy.com/JudgeOnline/
problem
.php?id=1853http://www.lydsy.com/JudgeOnline/
problem
.php?
AmadeusChan
·
2024-01-29 19:22
【洛谷题解/COCI 2011/2012 #5】P1873 EKO / 砍树
题目概况题目链接:https://www.luogu.com.cn/
problem
/P1873难度:普及/提高-,高了(确信题目分析简化题目:简洁至极涉及知识点:二分答案解题思路:一个裸的二分答案板子题代码拆解及要点分析有一点需要提醒
oier_Asad.Chen
·
2024-01-29 18:44
洛谷题解
国外竞赛题解
算法
二分法
Java算法 leetcode简单刷题记录9
Java算法leetcode简单刷题记录9购买俩块巧克力:https://leetcode.cn/
problem
s/buy-two-chocolates/给定数组量并不大,因此也可以不用PriorityQueue
程序媛一枚~
·
2024-01-29 17:04
JAVA
算法
算法
java
leetcode
上一页
20
21
22
23
24
25
26
27
下一页
按字母分类:
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
其他