文章
leetcode讲解--515. Find Largest Value in Each Tree Row
题目Youneedtofindthelargestvalueineachrowofabinarytree.Example:<pre<codeInput:1/\32
889. Construct Binary Tree from Preorder and Postorder Traversal
题目Returnanybinarytreethatmatchesthegivenpreorderandpostordertraversals.Valuesinthetraversalspreandpostaredistinctpositive
leetcode讲解762.Prime Number of Set Bits in Binary Representation
题目Giventwointegers<codeL</codeand<codeR</code,findthecountofnumbersintherange<codeL,R</code(inclusive)havingaprimenu
leetcode讲解--693. Binary Number with Alternating Bits
题目Givenapositiveinteger,checkwhetherithasalternatingbits:namely,iftwoadjacentbitswillalwayshavedifferentvalues.Example1:
970-强整数
前言WeeklyContest118(https://link.segmentfault.com/?encH6IBel1orTxVPQNZW1iiGQ%3D%3D.sfz5G8QjPPD%2FqAMCMV6CHd8EV8A5p6fI1k%2BFx7DWRs1oS4Hx2f%2F
leetcode讲解--937. Reorder Log Files
题目Youhaveanarrayof<codelogs</code.Eachlogisaspacedelimitedstringofwords.Foreachlog,thefirstwordineachlogisanalphanu
leetcode讲解--739. Daily Temperatures
题目Givenalistofdailytemperatures<codeT</code,returnalistsuchthat,foreachdayintheinput,tellsyouhowmanydaysyouwouldhave
leetcode讲解--637. Average of Levels in Binary Tree
题目Givenanonemptybinarytree,returntheaveragevalueofthenodesoneachlevelintheformofanarray.Example1:<pre<codeInput
刷题笔记
<pre<code好久没写刷题笔记了,简单小结一下这一周多的结果:目前已刷63道,平均一天45道,主刷easy题。tree部分的easy做了一大半,hashtable的easy做了一半左右,linkedlist部分easy题基本做完,现在再按题号顺序跳着做。基本每道题都在leetcode自带
leetcode讲解--513. Find Bottom Left Tree Value
题目Givenabinarytree,findtheleftmostvalueinthelastrowofthetree.Example1:<pre<codeInput:2/\13Output:1
已加载文章中没有匹配内容,试试其他关键词或清空搜索。