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
solution
论文(二):AlexNet
IlyaSutskever,GeoffreyE.Hinton摘要Wetrainedalarge,deepconvolutionalneuralnetworktoclassifythe1.2millionhigh-re
solution
images
瑾怀轩
·
2024-01-28 13:44
论文集
深度学习
DAY32:贪心算法part2、122\55\45
时间复杂度O(N)空间复杂度O(1)class
Solution
{public:intmaxProfit(
鴒凰
·
2024-01-28 12:47
leetcode刷题系列
贪心算法
算法
leetcode
c++
笔记
学习
DAY22:二叉搜索树235、701、450
递归法class
Solution
{public:TreeNode*lowestCommo
鴒凰
·
2024-01-28 12:17
leetcode刷题系列
算法
数据结构
leetcode
笔记
c++
学习
DAY15: 层序遍历102、翻转二叉树226、对称二叉树101
本题中选择队列作为辅助数据结构迭代法class
Solution
{public:vector>levelOrder(TreeNode*root){vector>result;//定义返回的二维数组queueque
鴒凰
·
2024-01-28 12:16
leetcode刷题系列
leetcode
c++
笔记
学习
数据结构
DAY29:回溯算法491\46\47
class
Solution
{vector>result;vectorvec;voidtraceback(vector&num
鴒凰
·
2024-01-28 12:14
leetcode刷题系列
算法
哈希算法
leetcode
c++
学习
笔记
数据结构
后缀表达式(逆波兰表达式)的求值
后缀表达式的求值实现思路及演示案例代码实现实现思路及演示案例下图所示为用栈求后缀表达式值的演示案例:代码实现class
Solution
{publicintevalRPN(String[]tokens){
小小脑袋
·
2024-01-28 12:22
数据结构
java
数据结构
leetcode-二叉树层序遍历
question:层序遍历和前中后序遍历的不同在与,后面三者用栈实现,二层序遍历则用队列实现比较块这里引出深度优先搜索DFS和广度优先搜索BFS解题:广度优先搜索BFSclass
Solution
:#广度优先搜索
白舟的博客
·
2024-01-28 11:15
leetcode解法
二叉树
队列
dfs
bfs
leetcode 151反转字符串如何原地去除多余空格
problems/reverse-words-in-a-string/description/完整题解:https://leetcode.cn/problems/reverse-words-in-a-string/
solution
s
猫鱼Ω
·
2024-01-28 10:12
leetcode刷题笔记
leetcode
算法
职场和发展
字符串
leetcode 字符串相关题目
(LeetCode)官网-全球极客挚爱的技术成长平台541.反转字符串II-力扣(LeetCode)题解:https://leetcode.cn/problems/reverse-string-ii/
solution
s
猫鱼Ω
·
2024-01-28 10:10
leetcode刷题笔记
leetcode
算法
职场和发展
采样
UpsampleVSUpscale:upscalingisjustenlargingpixels.takinganimage,say1280x720andstretchingittofitascreenwiththere
solution
of1
猴子喜
·
2024-01-28 10:30
131. Palindrome Partitioning (Medium)
partitionssuchthateverysubstringofthepartitionisapalindrome.Returnallpossiblepalindromepartitioningofs.Example:Input:"aab"Output:[["aa","b"],["a","a","b"]]
Solution
s
Ysgc
·
2024-01-28 10:18
2020-04-12 241. Different Ways to Add Parentheses
class
Solution
{publicListdiffWa
_伦_
·
2024-01-28 10:50
剑指offer——打印从1到最大的n位数
*;publicclass
Solution
{public
浅亦予
·
2024-01-28 10:59
剑指offer刷题
算法
leetcode
职场和发展
数据结构
intellij-idea
开发语言
java
LeetCode932 Beautiful Array
blog.csdn.net/qq_17550379/article/details/83572902https://blog.csdn.net/lwgkzl/article/details/83502656class
Solution
hhh0209
·
2024-01-28 08:36
LeetCode
LeetCode125 Valid Palindrome
很简单的题目class
Solution
{public:boolisPalindrome(strings){if(s.empty())returntrue;intiSize=s.size();inti=0
hhh0209
·
2024-01-28 08:05
LeetCode
73. 矩阵置零
73.矩阵置零题目链接:73.矩阵置零代码如下://先标记所有0出现的位置,然后将其所在行列均置为0class
Solution
{public:voidsetZeroes(vector>&matrix){
咔咔咔的
·
2024-01-28 08:25
leetcode
c++
计算逆波兰式(后缀表达式)的值
被操作数可能是整数或其他表达式例如:["20","10","+","30","*"]->((20+10)*30)->900["40","130","50","/","+"]->(40+(130/50))->42代码实现:class
Solution
xgz1442339473
·
2024-01-28 07:27
算法
算法
逆波兰式
力扣:516.最长回文子序列
最长回文子串代码:class
Solution
{public:intlongestPalindromeSubseq(strings){vector>dp(s.size(),vector(s.size(),
empty__barrel
·
2024-01-28 06:50
动态规划
leetcode
算法
动态规划
力扣516. 最长回文子序列
和逆串s'的最长公共子序列长度问题,具体推断过程可以参考力扣1312.让字符串成为回文串的最少插入次数问题变成了求两个字符串最长公共子序列长度问题,具体思路可以参考力扣1143.最长公共子序列class
Solution
slowfastflow
·
2024-01-28 06:41
力扣实践
leetcode
算法
职场和发展
leetcode 120. Triangle
class
Solution
{public:intminimumTotal(vector>&triangle){if(triangle.empty())return0;intn=triangle.size
weixin_41968820
·
2024-01-28 06:40
leetcode120. Triangle
class
Solution
{public:intminimumTotal(vector>&triangle){if(triangle.size()result(triangle[k].size(),0)
站在风口的熊
·
2024-01-28 06:06
leetcode
Triangle
36. 有效的数独(C++)
class
Solution
{public:boolisValidSudoku(vect
sparks__fly
·
2024-01-28 06:30
leetcode
c++
leetcode
算法
37.解数独(C++)
题干:https://leetcode.cn/problems/sudoku-solver/使用“有效的数独”中的函数,代码如下:class
Solution
{private:boolanswer{false
sparks__fly
·
2024-01-28 06:30
leetcode
c++
算法
数据结构
210. 课程表 II
Codeclass
Solution
{publicint[]findOrde
爱跑步的程序员~
·
2024-01-28 06:59
算法
bfs
图搜索
排序算法
图论第一天|797.所有可能的路径 200. 岛屿数量
Leetcode797.所有可能的路径Leetcode200.岛屿数量Leetcode797.所有可能的路径文章链接:代码随想录题目链接:797.所有可能的路径思路:深搜入门,注意邻接表和邻接矩阵的形式class
Solution
啊就赵得柱
·
2024-01-28 06:00
图论
深度优先
算法
代码随想录刷题第16天
重点在于后序遍历的应用,递归代码如下:class
Solution
{public:intg
太阳照常升起366
·
2024-01-28 05:49
数据结构
leetcode
算法
代码随想录刷题第15天
class
Solution
{//层序遍历public:vector>levelOrder(Tre
太阳照常升起366
·
2024-01-28 05:19
数据结构
代码随想录刷题第18天
class
Solution
{public:intfindBottomLeftValue(TreeNode*root){queueque;intresult=0;if(
太阳照常升起366
·
2024-01-28 05:48
leetcode
算法
职场和发展
【LeetCode 热题 100】普通数组 专题(大多要求 原地算法,需要一定思维)
文章目录53.最大子数组和56.合并区间189.轮转数组【3次原地翻转】238.除自身以外数组的乘积41.缺失的第一个正数【交换法】53.最大子数组和class
Solution
{public:intmaxSubArray
联系丝信
·
2024-01-28 03:35
【Leetcode
热题100】
算法
leetcode
数据结构
LeetCode 热题 100 | 矩阵
348.旋转图像4240.搜索二维矩阵II菜鸟做题第二周,语言是C++173.矩阵置零解题思路:遍历矩阵,寻找等于0的元素,记录对应的行和列将被记录的行的元素全部置0将被记录的列的元素全部置0class
Solution
狂放不羁霸
·
2024-01-28 03:33
力扣
leetcode
矩阵
算法
【LeetCode-42】42. 接雨水
*/class
Solution
{//考虑局部i,位置i能达到的水柱高度和其左边的最高柱子、右边的最高柱子有关,我们分别称这两个柱子高度为ma
weixin_42956047
·
2024-01-28 03:55
LeetCode
42.接雨水
双指针法
备忘录法
152. Maximum Product Subarray
动态规划的做法,转移方程真的很难写我至今还是糊糊涂涂的class
Solution
(object):defmaxProduct(self,nums):""":typenums:List[int]:rtype
April63
·
2024-01-28 02:42
使用vite创建的Vue项目,部分文件出现报错
修改tsconfig.node.json中moduleRe
solution
的值为N
浮生若梦777
·
2024-01-28 02:49
vue.js
前端
javascript
vue
字符串相乘
class
Solution
{public:typedeflonglonglint;lintsToInt(conststring&s){lintans=0;for(inti=0;i
高二的笔记
·
2024-01-28 01:24
算法
开发语言
代码随想录双指针专题二刷
双指针专题就是把前面几个专题的部分使用到双指针的题目进行挑选27.移除元素class
Solution
{public:intremoveElement(vector&nums,intval){intslowIndex
睡个好觉哦
·
2024-01-28 01:43
算法
leetcode
数据结构
代码随想录二刷总结复盘 day02
本题的核心在于找到第一个平方数大于x的数1.二分法:找到第一个平方数大于x的数注意点是:mid*mid需要转成(longlong)class
Solution
{public:intmySqrt(intx)
睡个好觉哦
·
2024-01-28 01:42
算法
leetcode
盛水最多的容器
https://leetcode.cn/problems/container-with-most-water/
solution
s/207215/sheng-zui-duo-shui-de-rong-qi-by-leetcode-
solution
夹心宝贝
·
2024-01-28 01:56
双指针OJ题
双指针
每日一题leetcode199-二叉树的右视图
代码:class
Solution
{publicListrightSideView(TreeNoderoot){ListresList=newLinkedListlist,intdepth){if(node
一个酷酷的男子
·
2024-01-28 01:09
代码随想录算法训练营第四十二天(动态规划篇)|
dp[i][0]=dp[j][0]=1遍历顺序:从前往后代码实现importnumpyasnpclass
Solution
(obj
Huiwen_Z
·
2024-01-28 00:58
代码随想录训练营
算法
动态规划
leetcode
python
LeetCode 40.组合总和 II
优化剪枝方法:Swfitclass
Solution
{varfreq=[(In
Jarlen John
·
2024-01-27 23:24
数据结构与算法
leetcode
算法
职场和发展
笔记
ARP欺骗解决方案
欺骗解决方案转自:http://www.antivirus-china.org.cn/diaocha2008/AVKnowledge/2008042605.htm一、什么是ARPARP(AddressRe
solution
Protocol
liyunzou
·
2024-01-27 22:24
网络
windows
服务器
each
通讯
工作
中间人攻击arp欺骗及与beef-xss联动
arp协议及arp攻击的局限性地址解析协议,即ARP(AddressRe
solution
qianpd
·
2024-01-27 22:24
其他利用
网络
安全
系统安全
ARP攻击防范
概念ARP(AddressRe
solution
Protocol)安全是针对ARP攻击的一种安全特性,它通过一系列对ARP表项学习和ARP报文处理的限制、检查等措施来保证网络设备的安全性。
A_Puter
·
2024-01-27 22:24
网络
web安全
安全
代码随想录算法训练营第六十天|84. 柱状图中最大的矩形
class
Solution
:deflargestRectangleArea(self,heights:List[int])->int:res=0heights.insert(0,0)heigh
CrozzMoy
·
2024-01-27 21:52
代码随想录
算法
数论Leetcode204. 计数质数、Leetcode858. 镜面反射、Leetcode952. 按公因数计算最大组件大小
代码class
Solution
:defcountPrimes(self,n:int)->int:ifnn:breakprime_arr[i*ls]=0returnsum(prime_arr)Leetcode858
CrozzMoy
·
2024-01-27 21:50
算法与数据结构
图论
leetcode
算法
LSM-Tree(50)
3.4LSM-trees:ComponentSizes(16)Hereisafullexplanationofthetwo-component
solution
.TheinsertrateR=160,000bytes
i_need_job
·
2024-01-27 21:15
什么是 Docker
1.什么是Docker1.1官方定义最新官网首页#1.官方介绍-Wehaveacompletecontainer
solution
foryou-nomatterwhoyouareandwhereyouareonyourcontainerizationjourney
林诺辞
·
2024-01-27 20:21
Docker
docker
容器
运维
leetcode88合并两个有序数组
class
Solution
{public:voi
宇宙超粒终端控制中心
·
2024-01-27 20:10
leetcode
c++
算法
数据结构
C语言
指针
Cracking the coding interview--问题与解答
作者:Hawstein出处:http://hawstein.com/posts/ctci-
solution
s-contents.html声明:本文采用以下协议进行授权:自由转载-非商用-非衍生-保持署名
overstack
·
2024-01-27 19:59
算法
面试问题
面试题
cracking
the
code
算法训练营Day59(单调栈)
class
Solution
{publicint[]nextGreaterElements(int[]nums){intlen=nums.length*2;int[]nums2=newint[len];for
不吃青椒!
·
2024-01-27 19:51
算法
算法
leetcode
数据结构
上一页
53
54
55
56
57
58
59
60
下一页
按字母分类:
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
其他