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
problems
找到所有数组中消失的数字-力扣448-Java
示例1:输入:nums=[4,3,2,7,8,2,3,1]输出:[5,6]示例2:输入:nums=[1,1]输出:[2]来源:力扣(LeetCode)链接:https://leetcode.cn/
problems
TLJava^v^
·
2023-11-11 13:23
#
力扣-java
java
力扣
数组
数字
算法
448. 找到所有数组中消失的数字
448.找到所有数组中消失的数字https://leetcode.cn/
problems
/find-all-numbers-disappeared-in-an-array/448.找到所有数组中消失的数字难度简单
努力学习的梅子
·
2023-11-11 13:52
每日刷题
java
算法
leetcode
LeetCode数组中的第K个最大元素
来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
/kth-largest-element-in-an-array给定整数数组nums和整数k,请返回数组中第
hrkkkkkk1011
·
2023-11-11 11:05
题解
leetcode
算法
javascript
周赛369(位运算、分类讨论、记忆化搜索==>动态规划、树形DP)
文章目录周赛369[2917.找出数组中的K-or值](https://leetcode.cn/
problems
/find-the-k-or-of-an-array/)位运算模拟[2918.数组的最小相等和
Miraclo_acc
·
2023-11-11 10:20
算法刷题记录
#
LC周赛
动态规划
算法
周赛368(模拟、前后缀分解、枚举+数学、预处理+划分型DP)
文章目录周赛368[100106.元素和最小的山形三元组I](https://leetcode.cn/
problems
/minimum-sum-of-mountain-triplets-i/)模拟[100114
Miraclo_acc
·
2023-11-11 10:20
算法刷题记录
#
LC周赛
算法
数据结构
LeetCode-48.Rotate Image
https://leetcode.com/
problems
/rotate-image/Youaregivenannxn2Dmatrixrepresentinganimage.Rotatetheimageby90degrees
MSP_甄心cherish
·
2023-11-11 06:07
LeetCode
leetcode
LeetCode-48. Rotate Image [C++][Java]
LeetCode-48.RotateImagehttps://leetcode.com/
problems
/rotate-image/Youaregivenannxn2Dmatrixrepresentinganimage
贫道绝缘子
·
2023-11-11 06:00
LeetCode刷题怪
leetcode
leetcode算法题--1比特与2比特字符
原题链接:https://leetcode-cn.com/
problems
/1-bit-and-2-bit-characters/classSolution{public:boolisOneBitCharacter
bob62856
·
2023-11-11 05:51
Algorithm
leetcode
算法
职场和发展
LeetCode 74 - 搜索二维矩阵 (二分法)
74.搜索二维矩阵-力扣(LeetCode)(leetcode-cn.com)https://leetcode-cn.com/
problems
/search-a-2d-matrix/题目:Writeanefficientalgorithmthatsearchesforavaluetargetinanmxnintegermatrixmatrix.Thismatrixhasthefollowingpr
决定要好好毒树的Lucifer
·
2023-11-11 05:03
矩阵
线性代数
算法
二分法
[LeetCode]-225. 用队列实现栈
目录225.用队列实现栈题目思路代码225.用队列实现栈225.用队列实现栈-力扣(LeetCode)https://leetcode.cn/
problems
/implement-stack-using-queues
敲敲er
·
2023-11-11 05:31
LeetCode刷题分享
leetcode
算法
【LeetCode704.二分查找】——二分查找方法汇总
链接:https://leetcode.cn/
problems
/b
木瓜星灵TT
·
2023-11-11 04:02
LeetCode学习笔记
算法
leetcode
数据结构
c++
Leetcode SQL 584. 寻找用户推荐人
https://leetcode.cn/
problems
/find-customer-referee/selectnamefromcustomerwherereferee_id!
轻松的风
·
2023-11-11 03:52
sql
数据库
leetcode_811. 子域名访问计数
题目链接:https://leetcode.cn/
problems
/subdomain-visit-count/description/涉及知识点:库函数atoi,库函数strstr,库函数strchr
Kane886
·
2023-11-10 22:05
leetcode
算法
散列表
代码随想录训练营第46天 | 139.单词拆分● 背包问题总结
139.单词拆分题目链接:https://leetcode.com/
problems
/word-break解法:单词就是物品,字符串s就是背包,单词能否组成字符串s,就是问物品能不能把背包装满。
Jack199274
·
2023-11-10 21:06
数据结构和算法
算法
数据结构
Leetcode-3:无重复字符的最长子串(滑动窗口解法)
题目链接https://leetcode-cn.com/
problems
/longest-substring-without-repeating-characters/题目给定一个字符串s,请你找出其中不含有重复字符的最长子串的长度
道纪书生
·
2023-11-10 19:27
Leetcode
c++
算法
leetcode
字符串
leetcode-经典面/笔试题目
1.消失的数字面试题17.04.消失的数字-力扣(LeetCode)https://leetcode.cn/
problems
/missing-number-lcci/这个题目当然有好几种解法,这里我推荐一种比较优秀的思路
进击的小C
·
2023-11-10 17:37
题目
算法
数据结构
c语言
学习
【Leetcode】【简单】13. 罗马数字转整数
https://leetcode.cn/
problems
/roman-to-integer/description/罗马数字包含以下七种字符:I,V,X,L,C,D和M。
have_to_be
·
2023-11-10 14:27
Leetcode
leetcode
算法
职场和发展
【Leetcode】【每日一题】【中等】187. 重复的DNA序列 官方题解待更新
https://leetcode.cn/
problems
/repeated-dna-sequences/description/?
have_to_be
·
2023-11-10 14:27
Leetcode
算法
【Leetcode】【每日一题】【简单】2609. 最长平衡子字符串
https://leetcode.cn/
problems
/find-the-longest-balanced-substring-of-a-binary-string/description/?
have_to_be
·
2023-11-10 14:23
Leetcode
leetcode
算法
职场和发展
Deep Reinforcement Learning --- Value Based Methods --- Chapter 2-2 Deep Q-Networks
DeepReinforcementLearning—ValueBasedMethods—Chapter2-2DeepQ-Networks2.2.1FromRLtoDeepRL Sofar,you’vesolvedmanyofyourownreinforcementlearning
problems
小朱 智能驾驶
·
2023-11-10 14:05
深度强化学习专栏
JavaScript-算法-两数相加
来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
/add-two-numbers
C_Cercis Chinensis
·
2023-11-10 09:12
算法
算法
javascript
链表
删除一次得到子数组最大和
题源:https://leetcode-cn.com/contest/weekly-contest-153/
problems
/maximum-subarray-sum-with-one-deletion
diedu5662
·
2023-11-10 08:13
数据结构与算法
java
LeetCode-Brainteaser-292. Nim Game
问题:https://leetcode.com/
problems
/nim-game/?
R_zz
·
2023-11-10 06:59
LeetCode-其他
游戏
each
heap
leetcode
LeetCode 151. 翻转字符串里的单词
.翻转字符串里的单词题目解题思路代码实现语言特性:代码实现双指针:代码实现实现结果语言特性:实现结果双指针:实现结果151.翻转字符串里的单词题目来源:https://leetcode-cn.com/
problems
"大梦三千秋
·
2023-11-10 05:47
LeetCode
翻转字符串里的单词
leetcode
python
双指针
语言特性
每天一道算法题leetcode
https://leetcode-cn.com/
problems
et/all/这个哥哥总结的很好https://blog.csdn.net/weixin_33991418/article/details
东方狱兔
·
2023-11-10 02:06
Java
LeetCode刷题实战46:全排列
今天和大家聊的问题叫做全排列,我们先来看题面:https://leetcode-cn.com/
problems
/permutations/Givenacollectionofdistinctintegers
程序IT圈
·
2023-11-10 02:32
算法
dfs
xhtml
opera
java
155.最小栈
来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
/min-stack/著作权归领扣网络所有。商业转载请联系官方授权,非商业转载请注明出处。
高ws
·
2023-11-10 02:26
数据结构与算法
力扣(leetcode) 155. 最小栈 (辅助栈法)
题目在这:https://leetcode-cn.com/
problems
/min-stack/思路分析:这道题乍一看挺吓人的,以往基本都是一个函数,这一下这么多函数,实际上每个函数里就一两行代码。
深度不学习!!
·
2023-11-10 02:25
个人笔记
交流学习
leetcode
python
LeetCode 454. 四数相加 II
题目链接:https://leetcode.cn/
problems
/4sum-ii/C++代码如下:classSolution{public:intfourSumCount(vector&nums1,vector
早睡身体好呀
·
2023-11-09 22:00
LeetCode
leetcode
c++
哈希表
极智Coding | 0001_两数之和_解法
leetcode原题链接:https://leetcode-cn.com/
problems
/two-sum/ github题解链接:https://github.com/Jerem
极智视界
·
2023-11-09 19:25
极智编程
leetcode
算法
c++
golang
java
LeetCode 30. 串联所有单词的子串 | Python
文章目录30.串联所有单词的子串题目解题思路代码实现实现结果总结30.串联所有单词的子串题目来源:力扣(LeetCode)https://leetcode-cn.com/
problems
/substring-with-concatenation-of-all-words
"大梦三千秋
·
2023-11-09 14:00
LeetCode
leetcode
python
30.
串联所有单词的子串
滑动窗口
算法
leetcode30. 串联所有单词的子串
思路每次移动一位会导致很多的重复,所以我们每次判断一个单词要一次判断一个单词,应该有单词长度减一个起点i,可以参考下面连接https://leetcode.cn/
problems
/substring-with-concatenation-of-all-words
996冲冲冲
·
2023-11-09 14:59
滑动窗口
数据结构
python
算法
30. 串联所有单词的子串
https://leetcode-cn.com/
problems
/substring-with-concatenation-of-all-words/难度困难534收藏分享切换为英文接收动态反馈给定一个字符串
努力学习的梅子
·
2023-11-09 14:53
每日刷题
算法
java
[leetcode] 117. Populating Next Right Pointers in Each Node II @ python
原题https://leetcode.com/
problems
/populating-next-right-pointers-in-each-node-ii/解法BFS,依次将每层的节点放入列表中,然后每个列表的节点都指向它下一个节点
闲庭信步的空间
·
2023-11-09 14:06
116. Populating Next Right Pointers in Each Node 层次遍历 队列 python
题目搬运者https://leetcode-cn.com/
problems
/populating-next-right-pointers-in-each-node/思路层次遍历在层次遍历的过程中将我们将二叉树每一层的节点拿出来遍历并连接用
向光光同学
·
2023-11-09 14:34
leetcode
python
leetcode
广度搜索
12. 整数转罗马数字
12.整数转罗马数字原始题目链接:https://leetcode-cn.com/
problems
/integer-to-roman/罗马数字包含以下七种字符:I,V,X,L,C,D和M。
Sun_Sky_Sea
·
2023-11-09 08:26
#
哈希表
leetcode
【LeetCode】226. 翻转二叉树
题目地址:https://leetcode-cn.com/
problems
/invert-binary-tree/示例输入4/\27/\/\1369输出4/\72/\/\9631题目大意翻转一棵二叉树。
把苹果咬哭的测试笔记
·
2023-11-09 07:36
算法&刷题
leetcode
深度优先
算法
数据结构
职场和发展
226. 翻转二叉树
地址:力扣https://leetcode-cn.com/
problems
/invert-binary-tree/题目:翻转一棵二叉树。
mrbone9
·
2023-11-09 07:02
算法训练(C语言版本)
leetcode
Leetcode刷题笔记 226. 翻转二叉树
226.翻转二叉树时间:2020年9月16日知识点:二叉树题目链接:https://leetcode-cn.com/
problems
/invert-binary-tree/题目翻转一棵二叉树。
jialun0116
·
2023-11-09 07:02
leetcode
二叉树
leetcode
算法
Leetcode|226. 翻转二叉树【笔记】
226.翻转二叉树【笔记】链接前言题目关键本人思路思路1相关知识疑问参考链接https://leetcode-cn.com/
problems
/invert-binary-tree/前言题不难,但是踩坑了题目翻转一棵二叉树
Kobaayyy
·
2023-11-09 07:30
Leetcode
二叉树
leetcode
算法
python
Leetcode62. 不同路径
题目传送地址:https://leetcode.cn/
problems
/unique-paths/运行效率:代码如下:publicstaticintuniquePaths(intm,intn){HashMapmap
Java全栈研发大联盟
·
2023-11-09 07:53
数据结构和算法
算法
leetcode
java
力扣(LeetCode)每日一题 137. 只出现一次的数字 II
题目链接https://leetcode.cn/
problems
/single-number-ii/description/?
一般路过糸.
·
2023-11-09 07:48
leetcode
算法
职场和发展
力扣(LeetCode)每日一题 136. 只出现一次的数字
题目链接https://leetcode.cn/
problems
/single-number/description/?
一般路过糸.
·
2023-11-09 07:48
leetcode
算法
职场和发展
LeetCode 63. 不同路径 II
题目链接https://leetcode.cn/
problems
/unique-paths-ii/description/动态规划算法:与上一题62一样,只是多了石头挡路classSolution{publicintuniquePathsWithObstacles
一般路过糸.
·
2023-11-09 07:48
leetcode
算法
职场和发展
LeetCode 62. 不同路径
题目链接https://leetcode.cn/
problems
/unique-paths/动态规划算法classSolution{publicintuniquePaths(intm,intn){int
一般路过糸.
·
2023-11-09 07:15
leetcode
算法
职场和发展
④ 链表
24.两两交换链表中的节点题目链接:https://leetcode.cn/
problems
/swap-nodes-in-pairs/注意点:遍历链表的时候什么时候截止(避免空指针异常或无限死循环的问题
奥奥奥曼
·
2023-11-09 03:51
Java之路
链表
数据结构
leetcode
⑥ 哈希表
242.有效的字母异位词题目链接:https://leetcode.cn/
problems
/valid-anagram/异位词定义:两个字符串的异位词等价于两个字符串排序后相等。
奥奥奥曼
·
2023-11-09 03:20
Java之路
散列表
leetcode
数据结构
每日一题(LeetCode)----数组--移除元素(四)
每日一题(LeetCode)----数组–移除元素(四)1.题目([844.比较含退格的字符串](https://leetcode.cn/
problems
/sqrtx/))给定s和t两个字符串,当它们分别被输入到空白的文本编辑器后
程序小白的code之路(记录分享)
·
2023-11-09 00:20
每日一题
leetcode
算法
剑指 Offer II 002. 二进制加法
创建时间:November23,20213:07PM最后编辑时间:November23,20213:42PM标签:位运算,字符串,数学状态:已完成网址:https://leetcode-cn.com/
problems
絮语流年
·
2023-11-08 18:53
剑指Offer(专项突破版)
java
15. 三数之和
15.三数之和原题链接:完成情况:解题思路:参考代码:错误经验吸取原题链接:15.三数之和https://leetcode.cn/
problems
/3sum/description/完成情况:解题思路:
Wzideng
·
2023-11-08 18:52
java学习
算法知识
#
LeetCode题解
链表
数据结构
推荐算法
算法
机器学习
上一页
46
47
48
49
50
51
52
53
下一页
按字母分类:
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
其他