首页
博客
源码
资源
博客
源码
写文章
发布博客
发布资源
登录
X
leetcode
相关资讯
热门
最新
代码人生
01-01 08:00
代码人生
LeetCode - Detect Capital
LeetCode - Detect Capital Given a word, you need to judge whether the usage of capitals in it is right or not. We define the usage of capitals in a word to be right when one of the following cases holds
89
代码人生
01-01 08:00
代码人生
Leetcode JS刷题
Leetcode JS刷题 主要是记录JS的语法!和算法的心得。 1 输入:nums = [2,7,11,15], target = 9输出:[0,1]解释:因为 nums[0] + nums[1] == 9 ,返回 [0, 1] 请你在该数组中找出 和为目标值 target 的那 两个 整数,并返回它们
124
百科问答
01-01 08:00
百科问答
leetcode刷题指南什么语言(零基础刷leetcode)
leetcode刷题指南什么语言(零基础刷leetcode)还在为刷LeetCode效率低而烦恼吗?今天为大家带来两个干货分享,让你的刷题效率up up up! 首先,工欲善其事必先利其器。第一份干货来自网友在GitHub上分享的一份教程:在IDE中刷题,让编码调试一体化。听起来有点意思啊,让我们来看看是怎么实现的~使用教程安装:首先,需要安装插件leetcode-editor:https://plugins.jetbrains.com/plugin/1
128
代码人生
01-01 08:00
代码人生
leetcode刷题指南什么语言(零基础刷leetcode)
leetcode刷题指南什么语言(零基础刷leetcode),还在为刷LeetCode效率低而烦恼吗?今天为大家带来两个干货分享,让你的刷题效率upupup!首先,工欲善其事必先利其器。第一份干货来自网友在GitHub上分享的一份教程:在IDE中刷题,让编码调试一体化。听起来有点意思啊,让我们来看看是怎么实现的~使用教程安装:首先,需要安装插件leetcode-editor:https://plu
191
代码人生
01-01 08:00
代码人生
leetcode 312. Burst Balloons(python)
leetcode 312. Burst Balloons(python),每日经典《春望》——杜甫(唐)国破山河在,城春草木深。感时花溅泪,恨别鸟惊心。烽火连三月,家书抵万金。白头搔更短,浑欲不胜簪。描述Youaregivennballoons,indexedfrom0ton-1.Eachballoonispaintedwithanumberonitrepresentedbyanarraynums
132
后端
01-01 08:00
后端
LeetCode-数组中数字出现的次数(单身狗问题)
LeetCode-数组中数字出现的次数(单身狗问题),题目要求一个数组中只有两个数字是出现一次,其他所有数字都出现了两次。编写一个函数找出这两个只出现一次的数字。方法:由于其他数都出现两遍,把这些数异或在一起,结果为0->,所以数组中所有元素异或起来,实际是两个单身狗异或的结果记为ret由于两个单身狗不相同,所有异或的结果至少有1个比特位为1(异或特点:对应比特位,相同为0,不同为1)所以可以对r
79
后端
01-01 08:00
后端
leetcode 110. Balanced Binary Tree(python)
leetcode 110. Balanced Binary Tree(python),描述Givenabinarytree,determineifitisheight-balanced.Forthisproblem,aheight-balancedbinarytreeisdefinedas:abinarytreeinwhichtheleftandrightsubtreesofeverynodedi
120
后端
01-01 08:00
后端
LeetCode 1456. 定长子串中元音的最大数目
LeetCode 1456. 定长子串中元音的最大数目,题目描述给你字符串s和整数k。请返回字符串s中长度为k的单个子字符串中可能包含的最大元音字母数。英文中的元音字母为(a,e,i,o,u)。示例1:输入:s="abciiidef",k=3输出:3解释:子字符串"iii"包含3个元音字母。示例2:输入:s="aeiou",k=2输出:2解释:任意长度为2的子字符串都包含2个元音字母。示例3:输入
111
后端
01-01 08:00
后端
leetcode 1669. Merge In Between Linked Lists(python)
leetcode 1669. Merge In Between Linked Lists(python),描述Youaregiventwolinkedlists:list1andlist2ofsizesnandmrespectively.Removelist1'snodesfromtheathnodetothebthnode,andputlist2intheirplace.Theblueedges
88
后端
01-01 08:00
后端
leetcode 2037. Minimum Number of Moves to Seat Everyone(python)
leetcode 2037. Minimum Number of Moves to Seat Everyone(python),描述Therearenseatsandnstudentsinaroom.Youaregivenanarrayseatsoflengthn,whereseats[i]isthepositionoftheithseat.Youarealsogiventhearraystude
115
«
1
2
3
4
5
6
7
8
9
10
11
»