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
377. 组合总和 Ⅳ
来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
/combination-sum-iv著作权归领扣网络所有。
今天也想吃鸡公煲
·
2023-10-05 01:34
力扣C++刷题
leetcode
动态规划
算法
不容易解的题10.4(kmp算法的应用和讲解)
151.反转字符串中的单词151.反转字符串中的单词-力扣(LeetCode)https://leetcode.cn/
problems
/reverse-words-in-a-string/?
想做渗透的杨
·
2023-10-04 23:28
练习
算法
leetcode
c++
Swift刷算法:最大子数组和
LeetCode:https://leetcode.cn/
problems
/maximum-subarray/image.pngclassSolution{funcmaxSubArray(_nums:[
JonorZhang
·
2023-10-04 23:06
Educational Codeforces Round 30 B.Balanced Substring
B.BalancedSubstring
ProblemS
tatementYouaregivenastringsconsistingonlyofcharacters0and1.Asubstring[l, r
Effervescence
·
2023-10-04 23:44
技巧
codeforces
D. Balanced Round
timelimitpertest2secondsmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputYouaretheauthorofaCodeforcesroundandhavepreparedn�
problems
youaregoingtoset
Felven
·
2023-10-04 23:13
AC路漫漫
算法
数据结构
python 两个栈实现一个队列 && 两个队列实现一个栈
剑指Offer09.用两个栈实现队列https://leetcode-cn.com/
problems
/yong-liang-ge-zhan-shi-xian-dui-lie-lcof/solution/
清风Python
·
2023-10-04 21:09
LeetCode - 114. 二叉树展开为链表 - java
文章目录[LeetCode-114.二叉树展开为链表](https://leetcode-cn.com/
problems
/flatten-binary-tree-to-linked-list/)题意解析解题思路代码如下
Dark And Grey
·
2023-10-04 20:40
链表
java
leetcode
Sass webpack 图片url路径问题
blog.csdn.net/weixin_33804990/article/details/93180165以及官方https://www.webpackjs.com/loaders/sass-loader/#
problems
-with-url
Yokiijay
·
2023-10-04 18:10
LeetCode每日一题,最长公共前缀
题目最长公共前缀https://leetcode-cn.com/
problems
/longest-common-prefix/公众号《java编程手记》记录JAVA学习日常,分享学习路上点点滴滴,从入门到放弃
JAVA编程手记
·
2023-10-04 17:33
力扣 119. 杨辉三角 II
来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
/pascals-triangle-ii著作权归领扣网络所有。
冷酷的摸鱼小将
·
2023-10-04 16:36
力扣
leetcode
算法
职场和发展
LeetCode——0118.杨辉三角 & 0119.杨辉三角II
示例:输入:5输出:[[1],[1,1],[1,2,1],[1,3,3,1],[1,4,6,4,1]]来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
HizT_1999
·
2023-10-04 16:05
LeetCode训练
leetcode
算法
python
第九章 动态规划 part12 309. 最佳买卖股票时机含冷冻期 714. 买卖股票的最佳时机含手续费
第五十一天|第九章动态规划part12309.最佳买卖股票时机含冷冻期714.买卖股票的最佳时机含手续费一、309.最佳买卖股票时机含冷冻期题目链接:https://leetcode.cn/
problems
旧日ζั͡ޓއއއ昔年
·
2023-10-04 15:23
动态规划
算法
第九章 动态规划 part13 300. 最长递增子序列 674. 最长连续递增序列 718. 最长重复子数组
第五十五天|第九章动态规划part13300.最长递增子序列674.最长连续递增序列718.最长重复子数组一、300.最长递增子序列题目链接:https://leetcode.cn/
problems
/longest-increasing-subsequence
旧日ζั͡ޓއއއ昔年
·
2023-10-04 15:22
动态规划
算法
面试题21. 调整数组顺序使奇数位于偶数前面
https://leetcode-cn.com/
problems
/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof/funcexchange
寂灭天骄小童鞋
·
2023-10-04 15:42
【从0到1冲刺蓝桥杯国赛】每日一练——分割等和子集
力扣https://leetcode-cn.com/
problems
/partition-equal-subset-sum/题目描述题目分析这道题其实用暴力也能做,回溯来实现,但是时间复杂度太高,AC不了
战士小小白
·
2023-10-04 09:53
蓝桥杯备战
蓝桥杯
数据结构
算法
动态规划
LeetCode算法题--最长公共前缀
LeetCode算法题--最长公共前缀题目来源:https://leetcode-cn.com/
problems
/longest-common-prefix/solution/题目要求编写一个函数来查找字符串数组中的最长公共前缀
wuyusen123456
·
2023-10-04 08:23
领扣算法题
leetcode算法题--最长公共前缀
原文链接:https://leetcode-cn.com/
problems
/longest-common-prefix/纵向扫描stringlongestCommonPrefix(vector&strs
bob62856
·
2023-10-04 08:22
Algorithm
品思共讀共好讀書會9/50-餐巾紙的背後
書名:餐巾紙的背後THEBACKOFTHENAPKIN:Solving
Problems
andSellingYourIdeaswithPictures作者:丹·羅姆DanRoam分享人:Esther市面上很多視覺呈現的書
Esther_Tsang
·
2023-10-04 08:26
算法-数学-斜率-直线上最多的点数
算法-数学-斜率-直线上最多的点数1题目概述1.1题目出处https://leetcode.cn/
problems
/max-points-on-a-line/1.2题目描述给你一个数组points,其中
迷路剑客
·
2023-10-04 06:54
算法
数据结构
2020最终复盘
[
Problems
]我的单词还是如以往一样,让我很焦急,我的语法知识也有些忘记了[Suggestions]买一本专业的语法书,每天坚持百词斩。
人文234张鑫Zoe
·
2023-10-04 05:28
LeetCode 24. 两两交换链表中的节点
24.两两交换链表中的节点题目来源:https://leetcode-cn.com/
problems
/swap-nodes-in-pairs题目给定一个链表,两两交换其中相邻的节点,并返回交换后的链表。
大梦三千秋
·
2023-10-04 01:46
599. 两个列表的最小索引总和
地址:力扣https://leetcode-cn.com/
problems
/minimum-index-sum-of-two-lists/题目:假设Andy和Doris想在晚餐时选择一家餐厅,并且他们都有一个表示最喜爱餐厅的列表
mrbone9
·
2023-10-04 01:31
算法训练(C语言版本)
leetcode
力扣 786. 第 K 个最小的素数分数
题目来源:https://leetcode-cn.com/
problems
/k-th-smallest-prime-fraction/大致题意:给定一个递增的素数数组arr和一个整数k,对于满足0a1[
三更鬼
·
2023-10-04 01:31
优先队列
leetcode
算法
java
Method in Java--方法
Inthissession,welearnhowtodefinemethodstosolvecomplex
problems
.本章节我们学习使用方法来解决复杂问题。
一只萌新兔
·
2023-10-04 00:13
java
开发语言
c++
最长回文子串
来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
/longest-palindromic-substring题目描述:给你一个字符串s,找到s中最长的回文子串
xialu
·
2023-10-04 00:16
代码随想录day53
1143.最长公共子序列https://leetcode.cn/
problems
/longest-common-subsequence/与上一题最长重复子数组思路相似,但这题不用连续,感觉是更容易想到一些
yabayaoya
·
2023-10-03 23:42
Leecode
leetcode
算法
动态规划
【算法优选】 滑动窗口专题——壹
文章目录前言[长度最小的子数组](https://leetcode.cn/
problems
/minimum-size-subarray-sum/description/)题目描述:算法思路:滑动窗口可以解决问题的原因
遇事问春风乄
·
2023-10-03 23:00
算法优选
算法
java
开发语言
滑动窗口
LeetCode每日一题(Python实现):118.杨辉三角
示例:输入:5输出:[[1],[1,1],[1,2,1],[1,3,3,1],[1,4,6,4,1]]来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
Rave1sking
·
2023-10-03 23:29
LeetCode
leetcode
python leetcode刷题 (46):118. 杨辉三角
示例:输入:5输出:[[1],[1,1],[1,2,1],[1,3,3,1],[1,4,6,4,1]]来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
团子学python
·
2023-10-03 23:59
python刷题
leetcode
python
力扣 118. 杨辉三角
示例输入:5输出:[[1],[1,1],[1,2,1],[1,3,3,1],[1,4,6,4,1]]来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
/
冷酷的摸鱼小将
·
2023-10-03 23:57
力扣
leetcode
算法
职场和发展
LeetCode(python)118. 杨辉三角
示例:输入:5输出:[[1],[1,1],[1,2,1],[1,3,3,1],[1,4,6,4,1]]来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
柚子山茶花
·
2023-10-03 23:56
#
Java刷LeetCode题
leetcode
java
力扣(leetcode) 118. 杨辉三角
题目在这:https://leetcode-cn.com/
problems
/pascals-triangle/思路分析:一道非常经典的算法题,在大学的时候应该经常用C写。
深度不学习!!
·
2023-10-03 23:26
交流学习
个人笔记
python
leetcode
每日一道leetcode(python)118. 杨辉三角
示例:输入:5输出:[[1],[1,1],[1,2,1],[1,3,3,1],[1,4,6,4,1]]来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
爱吃花椒的刺猬酱
·
2023-10-03 23:25
每日一道leetcode
leetcode
代码随想录算法训练营第一天|704.二分查找、35.搜索插入的位置、34.在排序数组中查找元素的第一个和最后一个位置、27.移除元素
704.二分查找题目链接:https://leetcode.cn/
problems
/binary-search///开区间写法classSolution{public:intsearch(vector&
独钓烟云
·
2023-10-03 22:33
刷题
leetcode
算法
删除排序链表中的重复元素
https://leetcode-cn.com/
problems
/remove-duplicates-from-sorted-list/description/因为链表已经排好顺序,所以我们可以通过比较两个元素是否相等
TayloverSwiftie
·
2023-10-03 22:36
[LeetCode-239]滑动窗口最大值
题目链接:https://leetcode-cn.com/
problems
/sliding-window-maximum/题目介绍:给定一个数组nums,有一个大小为k的滑动窗口从数组的最左侧移动到数组的最右侧
ArvinYL
·
2023-10-03 22:44
LeetCode
LeetCode239
阿伦的网络笔记
《算法竞赛入门经典——训练指南》第一章相关内容
问题求解策略(General
ProblemS
olvingTechniques)例题(Examples)例题1UVa11292TheDragonofLoowater排序后用贪心法题解例题2UVa11729CommandoWar
weixin_30770495
·
2023-10-03 21:04
java
数据结构与算法
《算法竞赛入门经典——训练指南》第一章算法分类
问题求解策略(General
ProblemS
olvingTechniques)例题(Examples)例题1UVa11292TheDragonofLoowater排序后用贪心法例题2UVa11729CommandoWar
BEconfidence
·
2023-10-03 21:03
UVA
训练指南第一章
八、动态规划(Dynamic Programming)
文章目录一、理论基础二、题目分类(一)基础题目2.[70.爬楼梯](https://leetcode.cn/
problems
/climbing-stairs/)(1)思路(2)代码(3)复杂度分析3.[
yolo0616
·
2023-10-03 17:18
Agorithm
动态规划
算法
【C++】字典树Trietree
字典树今天刷题实现一个魔法字典(https://leetcode.cn/
problems
/implement-magic-dictionary/),用了map暴力求解以后AC了,看题解时发现了字典树,感觉设计还是很精妙的
条竿儿毛好
·
2023-10-03 17:35
C++
c++
算法
开发语言
Trie(字典树)详解与C++实现
TrieIntroduction(介绍字典树)C++实现Trie应用参考资料甜姨的力扣题解:https://zhuanlan.zhihu.com/p/120150816力扣官方题解:https://leetcode-cn.com/
problems
我是大黄同学呀
·
2023-10-03 17:33
随便搞搞
数据结构
leetcode
前缀树
Trie
「leetcode」860.柠檬水找零【贪心算法】详细!
860.柠檬水找零题目链接:https://leetcode-cn.com/
problems
/lemonade-change
代码随想录
·
2023-10-03 17:42
leecode题解
算法
leetcode
面试
贪心算法
柠檬水找零---贪心算法(c++)实现
来源:力扣链接:https://leetcode.cn/
problems
/lemonade-change/题目详情:在柠檬水摊上,每一杯柠檬水的售价为5美元。
世界很大,我很小
·
2023-10-03 17:11
其他
贪心算法
c++
算法
代码随想录训练营二刷第四十四天 | 01背包问题 416. 分割等和子集
代码随想录训练营二刷第四十四天|01背包问题416.分割等和子集一、416.分割等和子集题目链接:https://leetcode.cn/
problems
/partition-equal-subset-sum
当年拼却醉颜红
·
2023-10-03 16:33
力扣算法题
算法
数据结构
动态规划
代码随想录训练营二刷第四十五天 | 1049. 最后一块石头的重量 II 494. 目标和 474.一和零
代码随想录训练营二刷第四十五天|1049.最后一块石头的重量II494.目标和474.一和零一、1049.最后一块石头的重量I题目链接:https://leetcode.cn/
problems
/last-stone-weight-ii
当年拼却醉颜红
·
2023-10-03 16:03
力扣算法题
算法
数据结构
动态规划
相交链表-python
leetCode第160题相交链表链接:https://leetcode-cn.com/
problems
/intersection-of-two-linked-lists给你两个单链表的头节点headA
unseven
·
2023-10-03 11:29
算法刷题
链表
python
数据结构
leetcode
数据结构与算法之堆: Leetcode 23. 合并 K 个升序链表 (Typescript版)
合并K个升序链表https://leetcode.cn/
problems
/merge-k-sorted-lists/描述给你一个链表数组,每个链表都已经按升序排列请你将所有链表合并到一个升序链表中,返回合并后的链表示例
Wang's Blog
·
2023-10-03 09:28
Data
Structure
and
Algorithms
leetcode
算法
LeetCode-Python-543. 二叉树的直径
来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problems
/diameter-of-bin
暴躁老哥在线刷题
·
2023-10-03 09:45
Leetcode
二叉树
递归
LeetCode 刷题系列 -- 543. 二叉树的直径
https://leetcode.cn/
problems
/diameter-of-binary-tree/descrip
在河之洲木水
·
2023-10-03 09:45
LeetCode
二叉树
leetcode
203. 移除链表元素
移除链表元素(https://leetcode-cn.com/
problems
/remove-linked-list-elements/)给你一个链表的头节点head和一个整数val,请你删除链表中所有满足
crazyfox
·
2023-10-03 09:36
上一页
67
68
69
70
71
72
73
74
下一页
按字母分类:
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
其他