文章
leetcode306. Additive Number
题目要求<pre<codeAdditivenumberisastringwhosedigitscanformadditivesequence.Avalidadditivesequenceshouldcontainatleastthreenu
leetcode315. Count of Smaller Numbers After Self
题目要求<pre<codeYouaregivenanintegerarraynumsandyouhavetoreturnanewcountsarray.Thecountsarrayhasthepropertywherecountsi
leetcode 329. Longest Increasing Path in a Matrix
题目要求<pre<codeGivenanintegermatrix,findthelengthofthelongestincreasingpath.Fromeachcell,youcaneithermovetofourdirections
leetcode 46 Permutations
题目详情<blockquoteGivenacollectionofdistinctnumbers,returnallpossiblepermutations.<p题目要求我们对于输入的数字序列,给出它们的全排列。</p<p例如,<br/1,2,3有
leetcode 416 Partition Equal Subset Sum
题目详情<blockquoteGivenanonemptyarraycontainingonlypositiveintegers,findifthearraycanbepartitionedintotwosubsetssuchthatthe
[LeetCode] Contains Duplicate
ContainsDuplicateGivenanarrayofintegers,findifthearraycontainsanyduplicates.Yourfunctionshouldreturntrueifanyvalueappears
[LeetCode] Rotate Array
ProblemRotateanarrayofnelementstotherightbyksteps.ExampleForexample,withn7andk3,thearray1,2,3,4,5,6,7isr
leetcode 338. Counting Bits
题目要求<pre<codeGivenanonnegativeintegernumbernum.Foreverynumbersiintherange0≤i≤numcalculatethenumberof1&39;sintheirb
leetcode 321. Create Maximum Number
题目要求<pre<codeGiventwoarraysoflengthmandnwithdigits09representingtwonumbers.Createthemaximumnumberoflengthk<mnf
leetcode 198 House Robber
题目详情<blockquoteYouareaprofessionalrobberplanningtorobhousesalongastreet.Eachhousehasacertainamountofmoneystashed,theonly
已加载文章中没有匹配内容,试试其他关键词或清空搜索。