文章
Binary Tree Paths
BinaryTreePathsGivenabinarytree,returnallroottoleafpaths.Forexample,giventhefollowingbinarytree:<pre<code1/\2
[Leetcode-Tree]Sum of Left Leaves
SumofLeftLeavesFindthesumofallleftleavesinagivenbinarytree.<pre<codeExample:3/\920/\157Therear
[LeetCode] Largest BST Subtree
LargestBSTSubtreeGivenabinarytree,findthelargestsubtreewhichisaBinarySearchTree(BST),wherelargestmeanssubtreewithlargestn
[解題][zerojudge] a229: 括號匹配問題
<blockquote<p原題目在<ahref"https://link.segmentfault.com/?encrS9dkGNypOiOEvTchWuYsA%3D%3D.mSF2BWFwZ2qYGtdBIe%2B7gkIFlHDWnYUdvI%2FQLmk10366V%2FX9tbWa
[LeetCode] 126. Word Ladder II
ProblemGiventwowords(startandend),andadictionary,findallshortesttransformationsequence(s)fromstarttoend,suchthat:Onlyonel
[Algorithm] DFS和Backtracking的区别
<table<tbody<tr<td</td<tdDFS</td<tdBacktracking</td</tr<tr<tdTargetStructure</td<tdActualTree/GraphStructure</td<tdAnytypeofstr
[LintCode/LeetCode] Subsets & Subsets II
SubsetsProblemGivenasetofdistinctintegers,returnallpossiblesubsets.NoticeElementsinasubsetmustbeinnondescendi
302. Smallest Rectangle Enclosing Black Pixels
题目:Animageisrepresentedbyabinarymatrixwith0asawhitepixeland1asablackpixel.Theblackpixelsareconnected,i.e.,thereisonlyone
212. Word SearchII
题目:Givena2Dboardandalistofwordsfromthedictionary,findallwordsintheboard.Eachwordmustbeconstructedfromlettersofsequentially
364. Nested List Weight SumII
题目:Givenanestedlistofintegers,returnthesumofallintegersinthelistweightedbytheirdepth.Eachelementiseitheraninteger,oralist
已加载文章中没有匹配内容,试试其他关键词或清空搜索。