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
Problem
异或和大小比较类问题——抓住最高位:CF1863F
https://codeforces.com/contest/1863/
problem
/F因为有等于,所以考虑异或和为0的合法区间,它可以随意切现在考虑切开后左边大于右边,可以发现左右边最高位可以互相抵消
Qres821
·
2023-09-04 05:56
思维
dp
bitset
异或
leetcode算法题--二叉树中和为某一值的路径
原题链接:https://leetcode.cn/
problem
s/er-cha-shu-zhong-he-wei-mou-yi-zhi-de-lu-jing-lcof/description/?
bob62856
·
2023-09-04 04:05
Algorithm
算法
leetcode
职场和发展
leetcode算法题--机器人的运动范围
原题链接:https://leetcode.cn/
problem
s/ji-qi-ren-de-yun-dong-fan-wei-lcof/description/?
bob62856
·
2023-09-04 04:04
Algorithm
算法
leetcode
职场和发展
【DP】CF Edu 21 E
Problem
-E-Codeforces题意:思路:就是一个N为1e5,M为3e5的背包问题,不过特殊条件是w#defineintlonglongusingi64=longlong;constexprintN
lamentropetion
·
2023-09-04 04:56
动态规划
算法
【倒着考虑】CF Edu 21 D
Problem
-D-Codeforces题意:思路:这道题需要倒着步骤考虑,就是先去假设已经分为了两部分,这左右两部分的和相等,然后去想上一个步骤倒着一个步骤后,可以发现这样的性质:Code:#include
lamentropetion
·
2023-09-04 04:56
Tricks
算法
【阅读笔记】Graph of Thoughts: Solving Elaborate
Problem
s with Large Language Models
GraphofThoughts:SolvingElaborate
Problem
swithLargeLanguageModelsWebsite&code:https://github.com/spcl/graph-of-thoughts
Vincy_King
·
2023-09-04 03:36
Paper
NLP
LLM
笔记
语言模型
人工智能
杭电OJ--2045
题目链接:http://acm.hdu.edu.cn/show
problem
.php?pid=2045这是一道比较考验算法的题目,他的主要目的是考验选手的递推能力。
儒将宇
·
2023-09-04 02:54
LeetCode 319. 灯泡开关
1、题目319.灯泡开关-力扣(LeetCode)https://leetcode-cn.com/
problem
s/bulb-switcher/submissions/2、题解这道题第一个便是扎扎实实的暴力法
风卷晨沙
·
2023-09-04 02:02
PAT 1145 Hashing - Average Search Time
Thetaskofthis
problem
issimple:insertasequenceofdistinctpositiveintegersintoahashtablefirst.Thentrytofindanothersequenceofintegerkeysfromthetableandoutputtheaveragesearchtime
ponytaill
·
2023-09-04 01:50
PTA
c++
pat
算法
数据结构
PAT 1163 Dijkstra Sequence
Dijkstra’salgorithmisoneoftheveryfamousgreedyalgorithms.Itisusedforsolvingthesinglesourceshortestpath
problem
whichgivestheshortestpathsfromoneparticularsourcevertextoalltheothervertices
ponytaill
·
2023-09-04 01:19
PTA
算法
c++
pat
数据结构
E. Living Sequence
Problem
-1811E-Codeforces问题描述:正整数中不能有4,问第k个数是多少思路:不能选4,那就只有{0,1,2,3,5,6,7,8,9},可以发现这可以当作九进制,将k转为9进制,对于大于等于
golitter.
·
2023-09-04 01:46
算法题
cf
算法
同时使用ViewBinding和Tinker遇到的坑
ViewBinding需要升级Gradle插件版本到3.6.2及以上,Gradle版本需要5.6.4及以上,然后我使用的Tinker版本是低于v1.9.14.6的,然后升级Gradle后Sync会报错:A
problem
occurredconf
一个有故事的程序员
·
2023-09-03 23:11
lintcode 1840 · 矩阵还原【中等 vip 二维前缀和数组】
题目https://www.lintcode.com/
problem
/1840现有一个n行m列的矩阵before,对于before里的每一个元素before[i][j],我们会使用以下算法将其转化为after
赵长辉
·
2023-09-03 23:04
矩阵
算法
lintcode 667 · 最长的回文序列【中等 递归到动态规划】
题目https://www.lintcode.com/
problem
/667/给一字符串s,找出在s中的最长回文子序列的长度.你可以假设s的最大长度为1000.样例样例1输入:"bbbab"输出:4解释
赵长辉
·
2023-09-03 23:34
动态规划
算法
lintcode 1815 · 警报器 【simple vip 前缀和数组】
题目https://www.lintcode.com/
problem
/1815一个烟雾警报器会监测len秒内的烟雾值,如果这段时间烟雾值平均值大于k那么警报器会报警。
赵长辉
·
2023-09-03 23:31
算法
【落叶.2020.04.27】公司升一般纳税人对客户或自己有什么好处?
【What'sthe
problem
?】公司升一般纳税人对客户或自己有什么好处?【What'stherootca
秋之川
·
2023-09-03 23:54
UVA11374 Airport express
UVA11374Airportexpress题目链接https://www.luogu.com.cn/
problem
/UVA11374题意:无向图中n个点给定起点s和终点e求最短路,不同的是有m条边是普通的
Strezia
·
2023-09-03 23:28
图论
蓝书
算法
UVA 11374 Airport Express SPFA||dijkstra
option=com_onlinejudge&Itemid=8&page=show_
problem
&
problem
=2369Description
Problem
D:AirportExpressInasmallcitycalledIokh
hr_whisper
·
2023-09-03 23:28
UVA
数据结构
ACM
编程
dijkstra
UVA
Ionic 常见问题及解决方案
http://mclspace.com/2016/01/16/ionic-
problem
s-and-solutions/
孔孔孔先生
·
2023-09-03 23:26
SQL in leetcode——medium篇
https://leetcode.com/
problem
s/exchange-seats/交换相邻学生的id,很容易想到,id为基数的:id+=1;id为偶数:id-=1.需要注意的是,如果学生人数为奇数
迷糊的小竹笋
·
2023-09-03 23:23
力扣每日一题:5738. K进制表示下的各位数字总和
5738.K进制表示下的各位数字总和https://leetcode-cn.com/
problem
s/sum-of-digits-in-base-k/难度:简单题目:给你一个整数n(10进制)和一个基数
清风Python
·
2023-09-03 23:42
【数据结构】 二叉树面试题讲解->叁
文章目录引言[根据二叉树创建字符串](https://leetcode.cn/
problem
s/construct-string-from-binary-tree/submissions/)题目描述:
遇事问春风乄
·
2023-09-03 22:03
数据结构
数据结构
面试题
二叉树
算法
java
生成窗口最大的数值组(栈和队列) 笔记
时间复杂度为O(N)生成双端队列qmax,qmax中存放数组arr的下标importjava.util.LinkedList;publicclass
Problem
_07_SlidingWindowMaxArray
王古
·
2023-09-03 22:20
自步学习的介绍 self paced learning
这方面的研究专家,参考西安交通大学的孟德宇老师他最近的研究方向:Fundamental
problem
sinmachinelearningandcomputervision,especiallyincluding
mingqian_chu
·
2023-09-03 21:44
#
深度学习
人工智能
LeetCode 82 删除排序链表中的重复元素 II
LeetCode82删除排序链表中的重复元素II来源:力扣(LeetCode)链接:https://leetcode.cn/
problem
s/remove-duplicates-from-sorted-list-ii
Rp_
·
2023-09-03 20:04
leetcode
链表
算法
LeetCode 23 合并 K 个升序链表
LeetCode23合并K个升序链表来源:力扣(LeetCode)链接:https://leetcode.cn/
problem
s/merge-k-sorted-lists/description/博主Github
Rp_
·
2023-09-03 20:03
leetcode
链表
算法
每日一词 102 l compound
每日一词102lcompound1-Tomakeadifficultsituationworsebyaddingmore
problem
s.a-Inromanticrelationships,arguingusuallycompounds
problem
s
JackChen_
·
2023-09-03 20:27
2018-3-24
Ihavebeenfightingwith
problem
sfornearly20years,andnowIhavegotmuchlootthatmanyskillsofsolving
problem
s.Ithinkthoseskillsarejustlikeacrateofgoldwhichisveryvaluable.Thereareheapsof
problem
sinourlifeandwenee
驰111
·
2023-09-03 20:10
【中等】1921. 消灭怪物的最大数量
原题链接:https://leetcode.cn/
problem
s/eliminate-maximum-number-of-monsters1921.消灭怪物的最大数量你正在玩一款电子游戏,在游戏中你需要保护城市免受怪物侵袭
是大肖啊
·
2023-09-03 19:50
leetcode
1921
【中等】49. 字母异位词分组
原题链接:https://leetcode.cn/
problem
s/group-anagrams49.字母异位词分组给你一个字符串数组,请你将字母异位词组合在一起。可以按任意顺序返回结果列表。
是大肖啊
·
2023-09-03 19:50
leetcode
字符串
【中等】【滑动窗口】【双指针】3. 无重复字符的最长子串
原题链接:https://leetcode.cn/
problem
s/longest-substring-without-repeating-characters3.无重复字符的最长子串给定一个字符串s,
是大肖啊
·
2023-09-03 19:45
leetcode
滑动窗口
双指针
可后悔贪心 -- 解题报告
[E.BuyLowSellHigh](
Problem
-E-Codeforces
golitter.
·
2023-09-03 19:11
算法题
算法
默默背单词-386
ˈkæləri]n.卡路里(热量单位,相当于calorie)Soifwereducethecaloryintakewetakeandweincreasetheexercise,thenmanyofthese
problem
scanbepreventedorbetreated
ss的专属赫兹
·
2023-09-03 19:35
Android Gradle中packagingOptions选项的使用
>A
problem
occurredstartingprocess'command'D:\Users\sky\AppData\Local\Android\Sdk\ndk-bundle\toolchains
老米拉
·
2023-09-03 16:54
Trader
Problem
题目链接:G.Trader
Problem
这道题,首先我们可以观察到,能合并的区间一定是连续的,并且k越大,能够合并的区间越多,因此我们需要将提问离线并排序,按照k的大小将区间逐个合并这道题巧妙的应用了并查集
'Karma
·
2023-09-03 16:38
算法
LeetCodeHOT100热题02
之前的算法系列参看:剑指offer算法题01剑指offer算法题02七、动态规划1.最长回文子串题目:https://leetcode.cn/
problem
s/longest-palindromic-substring
Jeremy_权
·
2023-09-03 15:53
算法
算法
leetcode
523.连续的子数组和
题目链接:https://leetcode-cn.com/
problem
s/continuous-subarray-sum/描述给你一个整数数组nums和一个整数k,编写一个函数来判断该数组是否含有同时满足下述条件的连续子数组
wonder-wall
·
2023-09-03 15:22
解题报告
算法
leetcode
leetcode刷题记录2:进度64, 2021.10.23
文章目录数组的度(题目编号697:[link](https://leetcode-cn.com/
problem
s/degree-of-an-array/))二叉搜索树(题目编号700:[link](https
leogo17
·
2023-09-03 15:51
leetcode
leetcode
算法
java
【Coding】LeetCode刷题记录
常用数据结构1.集合2.排序3.二分-模板[33.搜索旋转排序数组](https://leetcode-cn.com/
problem
s/search-in-rotated-sorted-array)[34
SmileLing~
·
2023-09-03 15:21
学习笔记
数据结构
leetcode
算法
数据结构
Leetcode专题[数组]-剑指offer10-I.-斐波那契数列
leetcode链接:https://leetcode.cn/
problem
s/fei-bo-na-qi-shu-lie-lcof/soluti...解题思路:递归funcfib(nint)int{ifn
·
2023-09-03 12:38
go
Leetcode专题[数组]-70-爬楼梯
leetcode链接:https://leetcode.cn/
problem
s/climbing-stairs/solutions/270926...解题思路:动态规划funcclimbStairs(nint
·
2023-09-03 12:06
go
Leetcode专题[数组]-剑指offer10-I.-斐波那契数列
leetcode链接:https://leetcode.cn/
problem
s/fei-bo-na-qi-shu-lie-lcof/soluti...解题思路:递归funcfib(nint)int{ifn
·
2023-09-03 12:06
go
The History of Philosophy|S01E33-The Political
Problem
ThePolitical
Problem
Justicewouldbeasimplematter,saysPlato,ifmenweresimple;ananarchistcommunismwouldsuffice.anarchist
Rachel09
·
2023-09-03 11:35
罗勇军 →《算法竞赛·快冲300题》每日一题:“游泳” ← DFS+剪枝
【题目来源】http://oj.ecustacm.cn/
problem
.php?id=1753http://oj.ecustacm.cn/viewnews.php?
hnjzsyjyj
·
2023-09-03 11:19
信息学竞赛
#
搜索算法
DFS
剪枝
AcWing 785:快速排序 ← vector
【题目来源】https://www.acwing.com/
problem
/content/787/【题目描述】给定你一个长度为n的整数数列。请你使用快速排序对这个数列按照从小到大进行排序。
hnjzsyjyj
·
2023-09-03 11:19
信息学竞赛
#
排序与查找
#
STL标准库
快速排序
vector
罗勇军 →《算法竞赛·快冲300题》每日一题:“乘积” ← 动态规划
【题目来源】http://oj.ecustacm.cn/
problem
.php?id=1781http://oj.ecustacm.cn/viewnews.php?
hnjzsyjyj
·
2023-09-03 11:18
信息学竞赛
#
动态规划
动态规划
LeetCode 热题 HOT 100:哈希表专题
文章目录1.两数之和49.字母异位词分组136.只出现一次的数字141.环形链表142.环形链表II1.两数之和题目链接:https://leetcode.cn/
problem
s/two-sum/?
Xiu Yan
·
2023-09-03 09:49
LeetCode
热题
leetcode
散列表
算法
java
哈希表
题目地址(1372. 二叉树中的最长交错路径)
题目地址(1372.二叉树中的最长交错路径)https://leetcode.cn/
problem
s/longest-zigzag-path-in-a-binary-tree/题目描述给你一棵以 root
前行follow
·
2023-09-03 08:50
#
树
深度优先
算法
leetcode
1372. 二叉树中的最长交错路径
1372.二叉树中的最长交错路径原始题目链接:https://leetcode-cn.com/
problem
s/longest-zigzag-path-in-a-binary-tree/给你一棵以root
Sun_Sky_Sea
·
2023-09-03 08:19
#
树
leetcode
mac pip9.0.1 报错There was a
problem
confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VER...
报错:CouldnotfetchURLhttps://pypi.python.org/simple/pip/:Therewasa
problem
confirmingthesslcertificate:[SSL
lunabird
·
2023-09-03 07:10
上一页
154
155
156
157
158
159
160
161
下一页
按字母分类:
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
其他