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
LeetCode LCR 024. 反转链表
LCR024.反转链表算法题地址:https://leetcode.cn/
problems
/UHnkqh/description/给定单链表的头节点head,请反转链表,并返回反转后的链表的头节点。
Pippioo
·
2023-11-13 01:23
leetcode简单算法题
leetcode
链表
算法
leetcode-长度最小的子数组
https://leetcode-cn.com/
problems
/minimum-size-subarray-sum/二.代码publicintminSubAr
Java工程师-龙
·
2023-11-12 22:38
算法
算法
leetcode
数组
[leetCode]530. 二叉搜索树的最小绝对差
题目链接:https://leetcode-cn.com/
problems
/minimum-absolute-difference-in-bst给你一棵所有节点为非负值的二叉搜索树,请你计算树中任意两节点的差的绝对值的最小值
消灭猕猴桃
·
2023-11-12 22:33
LeetCode
#
二叉树
Leetcode 153. Find Minimum in Rotated Sorted Array
ProblemS
upposeanarrayoflengthnsortedinascendingorderisrotatedbetween1andntimes.Forexample,thearraynums
小白菜又菜
·
2023-11-12 22:29
Leetcode
leetcode
算法
职场和发展
LeetCode-190.Reverse Bits
https://leetcode.com/
problems
/reverse-bits/Reversebitsofagiven32bitsunsignedinteger.Forexample,giveninput43261596
MSP_甄心cherish
·
2023-11-12 21:09
LeetCode
leetcode
LeetCode - Easy - 190. Reverse Bits
TopicBitManipulationTwoPointersDescriptionhttps://leetcode.com/
problems
/reverse-bits/Reversebitsofagiven32bitsunsignedinteger.Note
巨輪
·
2023-11-12 21:06
LeetCode
leetcode
位操作
two
pointers
LeetCode-190. Reverse Bits [C++][Java]
LeetCode-190.ReverseBitshttps://leetcode.com/
problems
/reverse-bits/题目描述Reversebitsofagiven32bitsunsignedinteger.Note
贫道绝缘子
·
2023-11-12 21:05
LeetCode刷题怪
leetcode
LeetCode--190. Reverse Bits
题目链接:https://leetcode.com/
problems
/reverse-bits/将一个无符号整型数的二进制表达做对称变换,输出逆转后二进制表达对应的十进制思路:对于一个二进制表达的数,逐个取每一位上的数
To_be_thinking
·
2023-11-12 21:32
【LeetCode】 111. Minimum Depth of Binary Tree 二叉树的最小深度(Easy)(JAVA)
【LeetCode】111.MinimumDepthofBinaryTree二叉树的最小深度(Easy)(JAVA)题目地址:https://leetcode.com/
problems
/minimum-depth-of-binary-tree
吴中乐
·
2023-11-12 20:52
Leetcode
二叉树
java
leetcode
算法
数据结构
111. Minimum Depth of Binary Tree(二叉树的最小深度)
题目链接:https://leetcode.com/
problems
/minimum-depth-of-binary-tree/给定一个二叉树,找出其最小深度。
God_Mood
·
2023-11-12 20:19
Leetcode
Minimum
Depth
of
Binary
Tree
二叉树的最小深度
459. 重复的子字符串
枚举__459重复的子字符串_字符串匹配__459重复的子字符串_KMP算法__459重复的子字符串_优化的KMP算法错误经验吸取原题链接:459.重复的子字符串https://leetcode.cn/
problems
Wzideng
·
2023-11-12 18:35
算法知识
java学习
#
LeetCode题解
linux
运维
服务器
数据库
算法
数据结构
leetcode 2127.参加会议的最多员工数 --随笔
力扣链接https://leetcode.cn/
problems
/maximum-employees-to-be-invited-to-a-meeting/题目描述示例思路本题题目倒是很好理解,也很容易知道要干嘛的
随便1z
·
2023-11-12 17:25
leetcode
☆ lc 899. Orderly Queue
https://leetcode.com/
problems
/orderly-queue/description/没思路。一般来说,看到字母,就要想到一个常数,26。贪心吗?观察规律的题目。
weixin_30399055
·
2023-11-12 17:08
数据结构与算法
LeetCode 2022.03.08反转字符串Ⅱ
来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
/reverse-string-ii思路题目要找的是每个2k区间的起点,在遍历字符
三维重建及点云
·
2023-11-12 17:48
LeetCode
C++
leetcode
算法
职场和发展
LeetCode刷题实战288:单词的唯一缩写
今天和大家聊的问题叫做单词的唯一缩写,我们先来看题面:https://leetcode-cn.com/
problems
/unique-word-abbreviation/假设你有一个字典和一个单词,请你判断该单词的
程序IT圈
·
2023-11-12 14:32
哈希
sms
哈希表
iaas
openssh
408.有效单词缩写 Python指针思路分析与细节解析!
408.有效单词缩写https://leetcode-cn.com/
problems
/valid-word-abbreviation/solution/408you-xiao-dan-ci-suo-xie-pythonzhi-zhe
清风Python
·
2023-11-12 14:01
算法之美
字符串
python
leetcode
java
算法
Leetcode 第26场双周赛题解
5396.连续字符题目链接:https://leetcode-cn.com/contest/biweekly-contest-26/
problems
/consecutive-characters/思路:
信仰..
·
2023-11-12 12:30
力扣每日一题 自定义字符串排序
Day45Date:November13,202212:01PMLinkedIn:https://leetcode.cn/
problems
/custom-sort-string/description/
只惠摸鱼
·
2023-11-12 12:02
力扣每日一题
Python
leetcode
算法
数据结构
Leetcode 110. Balanced Binary Tree
题目链接:https://leetcode.cn/
problems
/balanced-binary-tree//***Definitionforabinarytreenode.
北城路人
·
2023-11-12 11:22
算法打卡
leetcode
算法
职场和发展
LeetCode 110. Balanced Binary Tree
原题目:https://leetcode-cn.com/
problems
/balanced-binary-tree/思路:平衡的条件为左右深度之差的绝对值<2and左孩子平衡and右孩子平衡代码:classSolution
庾信平生最萧瑟
·
2023-11-12 11:21
LeetCode
DFS
LeetCode_145_二叉树的后序遍历
题目链接https://leetcode.cn/
problems
/binary-tree-postorder-traversal/题目描述给你一棵二叉树的根节点root,返回其节点值的后序遍历。
Fitz1318
·
2023-11-12 05:52
LeetCode学习之路
leetcode
算法
二叉树
后序遍历
力扣学习笔记——11. 盛最多水的容器
链接:https://leetcode.cn/
problems
/container-with-most-water/11.盛最多水的容器给定一个长度为n的整数数组height。
翟羽嚄
·
2023-11-12 05:51
leetcode
C++
leetcode
学习
笔记
LeetCode-300.Longest Increasing Subsequence
https://leetcode.com/
problems
/longest-increasing-subsequence/Givenanunsortedarrayofintegers,findthelengthoflongestincreasingsubsequence.Forexample
MSP_甄心cherish
·
2023-11-12 02:06
LeetCode
leetcode
[leetcode] 300. Longest Increasing Subsequence 解题报告
题目链接:https://leetcode.com/
problems
/longest-increasing-subsequence/Givenanunsortedarrayofintegers,findthelengthoflongestincreasingsubsequence.Forexample
小榕流光
·
2023-11-12 02:33
leetcode
动态规划
leetcode
算法
动态规划
dynamic
programming
力扣labuladong一刷day4共2题
确定dp数组(dptable)以及下标的含义确定递推公式dp数组如何初始化确定遍历顺序举例推导dp数组509.斐波那契数题目链接:https://leetcode.cn/
problems
/fibonacci-number
当年拼却醉颜红
·
2023-11-12 00:39
力扣算法题
leetcode
算法
数据结构
java
动态规划
力扣labuladong一刷day3共4题
力扣labuladong一刷day3共4题一、104.二叉树的最大深度题目链接:https://leetcode.cn/
problems
/maximum-depth-of-binary-tree/思路:
当年拼却醉颜红
·
2023-11-12 00:38
力扣算法题
leetcode
算法
java
数据结构
力扣labuladong一刷day5共3题
力扣labuladong一刷day5共3题一、46.全排列题目链接:https://leetcode.cn/
problems
/permutations/description/思路:全排列,无重复数字,
当年拼却醉颜红
·
2023-11-12 00:38
力扣算法题
leetcode
算法
职场和发展
数据结构
java
回溯算法
每日一题 21.02.14 LeetCode 765. 情侣牵手 java题解
题目https://leetcode-cn.com/
problems
/couples-holding-hands/代码classSolution{int[]p=newint[70];publicvoidunion
奔跑的废柴
·
2023-11-12 00:02
LeetCode
leetcode
算法
java
链表经典面试题之一讲
今天给大家分享一道经典的单链表面试题力扣题目——反转链表https://leetcode.cn/
problems
/reverse-linked-list/只给了头节点head,要将这个链表反转,那我们就要考虑怎么才能将这个链表反转呢
七街酒465
·
2023-11-12 00:53
链表
数据结构
链表经典面试题之二
今天我们做一道环形链表的题目力扣141题https://leetcode.cn/
problems
/linked-list-cycle/这道题让我们分析链表中是否存环,存在的话返回true,不存在返回false
七街酒465
·
2023-11-12 00:48
链表
数据结构
代码随想录训练营Day50| 123.买卖股票的最佳时机III 188.买卖股票的最佳时机IV
123.买卖股票的最佳时机III188.买卖股票的最佳时机IV学习内容123.买卖股票的最佳时机III123.买卖股票的最佳时机III-力扣(LeetCode)https://leetcode.cn/
problems
染尘*
·
2023-11-11 22:16
leetcode
算法
职场和发展
python
数据结构
「leetcode」40.组合总和II【回溯算法】详解!
40.组合总和II题目链接:https://leetcode-cn.com/
problems
/combination-sum
代码随想录
·
2023-11-11 22:22
leecode题解
算法
c++
数据结构
leetcode 110. Balanced Binary Tree 判断二叉树是否为平衡二叉树
https://leetcode.com/
problems
/balanced-binary-tree/1.通过计算每个节点左右子树的深度,自顶向下,判断每个节点是否平衡这种方法存在大量重复计算,效率较低
rock4you
·
2023-11-11 22:48
leetcode
leetcode 40.组合总和II Java
做题博客链接题目链接描述示例初始代码模板代码做题博客链接https://blog.csdn.net/qq_43349112/article/details/108542248题目链接https://leetcode-cn.com/
problems
云水冰
·
2023-11-11 22:15
leetcode刷题
算法
leetcode
java
数据结构
dfs
【LeetCode】 110. Balanced Binary Tree 平衡二叉树(Easy)(JAVA)
【LeetCode】110.BalancedBinaryTree平衡二叉树(Easy)(JAVA)题目地址:https://leetcode.com/
problems
/balanced-binary-tree
吴中乐
·
2023-11-11 22:14
Leetcode
二叉树
leetcode
java
面试
算法
每日一题(LeetCode)----数组--移除元素(五)
每日一题(LeetCode)----数组–移除元素(五)1.题目([977.有序数组的平方](https://leetcode.cn/
problems
/sqrtx/))给你一个按非递减顺序排序的整数数组
程序小白的code之路(记录分享)
·
2023-11-11 21:33
每日一题
leetcode
算法
[LeetCode] 717. 1-bit and 2-bit Characters
原题链接:https://leetcode.com/
problems
/1-bit-and-2-bit-characters/1.题目介绍Wehavetwospecialcharacters.Thefirstcharactercanberepresentedbyonebit0
Ber03
·
2023-11-11 20:51
LeetCode
LeetCode
Day51 | 309.最佳买卖股票时机含冷冻期, 714.买卖股票的最佳时机含手续费
Day51|309.最佳买卖股票时机含冷冻期,714.买卖股票的最佳时机含手续费最佳买卖股票时机含冷冻期LeetCode题目:https://leetcode.cn/
problems
/best-time-to-buy-and-sell-stock-with-cooldown
Foolish鱼
·
2023-11-11 18:57
数据结构
动态规划
leetcode
算法
Day51 309.最佳买卖股票时机含冷冻期 714.买卖股票的最佳时机含手续费
文章目录309.最佳买卖股票时机含冷冻期714.买卖股票的最佳时机含手续费309.最佳买卖股票时机含冷冻期https://leetcode.cn/
problems
/best-time-to-buy-and-sell-stock-with-cooldown
NoahNC
·
2023-11-11 18:53
算法
leetcode
动态规划
c++
leetcode9.回文数——学习笔记
题目:力扣https://leetcode-cn.com/
problems
/palindrome-number/classSolution{publicbooleanisPalindrome(intx)
Hokachi
·
2023-11-11 18:30
Leetcode练习
leetcode
算法
java
力扣学习笔记——1_两数之和
https://leetcode.cn/
problems
/two-sum/submissions/481342035/?
翟羽嚄
·
2023-11-11 17:19
leetcode
C++
leetcode
学习
笔记
Leetcode:151. 反转字符串中的单词
代码随想录第八天2023.7.19题目链接:151.反转字符串中的单词-力扣(LeetCode)https://leetcode.cn/
problems
/reverse-words-in-a-string
我爱编程!
·
2023-11-11 15:53
leetcode
算法
28. 找出字符串中第一个匹配项的下标
找出字符串中第一个匹配项的下标__前缀表_前缀表_不减1__28找出字符串中第一个匹配项的下标__前缀表_前缀表_减1错误经验吸取原题链接:28.找出字符串中第一个匹配项的下标https://leetcode.cn/
problems
Wzideng
·
2023-11-11 15:52
java学习
算法知识
#
LeetCode题解
java
开发语言
链表
数据结构
矩阵
线性代数
算法
LeetCode 151. 反转字符串中的单词
题目链接:https://leetcode.cn/
problems
/reverse-words-in-a-string/思路如下:现有如下字符串:首先把每个单词往前移,单词之间用一个空格隔开,对齐放好,
早睡身体好呀
·
2023-11-11 15:18
LeetCode
leetcode
c++
字符串
【算法】151. 反转字符串中的单词
链接:https://leetcode.cn/
problems
/reverse-words-in-a-string/给你一个字符串s,请你反转字符串中单词的顺序。单词是由非空格字符组成的字符串。
StudyWinter
·
2023-11-11 15:43
刷题
leetcode
算法
职场和发展
151. 反转字符串中的单词
151.反转字符串中的单词原题链接:完成情况:解题思路:参考代码:错误经验吸取原题链接:151.反转字符串中的单词https://leetcode.cn/
problems
/reverse-words-in-a-string
Wzideng
·
2023-11-11 15:41
java学习
算法知识
#
LeetCode题解
服务器
排序算法
算法
链表
线性代数
LeetCode刷SQL题
https://leetcode-cn.com/
problems
et/database/题目都是leetcode上了可以点击题目会有相应的链接由于个人比较喜欢用开窗函数,所以都优先用了开窗,当然这些并不一定都是最优解
是小朱哇
·
2023-11-11 15:25
SQL
hive
sql
mysql
LeetCode刷题实战184:部门工资最高的员工
今天和大家聊的问题叫做部门工资最高的员工,我们先来看题面:https://leetcode-cn.com/
problems
/department-highest-salary/WriteaSQLquerytofin
程序IT圈
·
2023-11-11 15:52
toolbar
consul
sms
gwt
nagios
力扣 448. 找到所有数组中消失的数字
示例输入:nums=[4,3,2,7,8,2,3,1]输出:[5,6]输入:nums=[1,1]输出:[2]来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
冷酷的摸鱼小将
·
2023-11-11 13:34
力扣
leetcode
算法
动态规划
LeetCode-448-找到所有数组中消失的数字
来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
/find-all-numbers-disappeared-in-an-ar
雄狮虎豹
·
2023-11-11 13:55
LeetCode-个人题解
java
算法
leetcode
上一页
45
46
47
48
49
50
51
52
下一页
按字母分类:
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
其他