文章
leetcode从罗马数字开始
将罗马数字转化为十进制数字Leetcode上的一道简单级别的题目将罗马数字转化为对应的十进制数字,其中罗马数字的范围在1~3999这题的关键在于了解需求,及如何将罗马数字转化为对应的十进制数字罗马数字转化为十进制数字的规则为:用作数字的罗马字母共有七个,即Ⅰ(1
LIS 和 LCS 子序列子串问题
1.LongestCommonSubstring和LongestCommonSubsequences&34;abcdefg&34;:子序列是可以不连续的eg:&34;acg&34;,子串是必须连续的eg:&34;abc&34;.1)LC子序列(子
LeetCode 238 Product of Array Except Self
Givenanarrayofnintegerswheren>1,nums,returnanarrayoutputsuchthatoutputiisequaltotheproductofalltheelementsofnumsexce
Leet code -- Combination Sum系列整理
CombinationSumIGivenasetofcandidatenumbers(C)(withoutduplicates)andatargetnumber(T),findalluniquecombinationsinCwherethe
LeetCode Weekly Contest 21
523.ContinuousSubarraySum(https://link.segmentfault.com/?encc7JHop9tbnXcwC%2FO3rKFGg%3D%3D.Jo0Yh2iOy%2B5qx5BXRieYEC%2Fvk%2BXGegdTZxHGixC%2FfH
LeetCode Weekly Contest 22
531.LonelyPixelI(https://link.segmentfault.com/?encsqpHSI%2Fyy3KB%2FFXQOeyz6Q%3D%3D.arFMBmRnmTCSiECohrlMLpsV5nihn8Efq5gHcO6r90GkNue65EKesoqTXsL3
LeetCode 01 || twoSum
twoSum<blockquote<pGivenanarrayofintegers,returnindicesofthetwonumberssuchthattheyadduptoaspecifictarget.Youmayassumet
LeetCode 241 - Different Ways to Add Parentheses
问题Givenastringofnumbersandoperators,returnallpossibleresultsfromcomputingallthedifferentpossiblewaystogroupnumbersandopera
LeetCode 189.Rotate Array
问题描述:189.RotateArrayRotateanarrayofnelementstotherightbyksteps.Forexample,withn7andk3,thearray1,2,3,4,5,6,7isr
Leetcode 78/LintCode 17 - subsets
题目<blockquote<pGivenasetofdistinctintegers,nums,returnallpossiblesubsets.<br/Forexample,Ifnums1,2,3,asolutionis:<br/
已加载文章中没有匹配内容,试试其他关键词或清空搜索。