標籤
Depth-first Search
共 14 篇
2014
-
131
技術LeetCode
【LeetCode with Python】 114. Flatten Binary Tree to Linked List
題目 原題頁面:https://leetcode.com/problems/flatten-binary-tree-to-linked-list/ 題目型別:Tree, Depth-first Search 難度評價:Medium Give…
-
118
技術LeetCode
【LeetCode with Python】 108. Convert Sorted Array to Binary Search Tree
題目 原題頁面:https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree/ 題目型別:Tree, Depth-first Search 難度評價:Med…
-
103
技術LeetCode
【LeetCode with Python】 101. Symmetric Tree
題目 原題頁面:https://leetcode.com/problems/symmetric-tree/ 題目型別:Tree, Depth-first Search 難度評價:Easy Given a binary tree, check…
-
102
技術LeetCode
【LeetCode with Python】 129. Sum Root to Leaf Numbers
題目 原題頁面:https://leetcode.com/problems/sum-root-to-leaf-numbers/ 題目型別:Tree, Depth-first Search 難度評價:Medium 類似題目:(E) Path…
-
085
技術LeetCode
【LeetCode with Python】 117. Populating Next Right Pointers in Each Node II
題目 原題頁面:https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii/ 題目型別:Tree, Depth-first SearchTwo P…
-
084
技術LeetCode
【LeetCode with Python】 116. Populating Next Right Pointers in Each Node
題目 原題頁面:https://leetcode.com/problems/populating-next-right-pointers-in-each-node/ 題目型別:Tree, Depth-first SearchTwo Poin…
-
079
技術LeetCode
【LeetCode with Python】 113. Path Sum II
題目 原題頁面:https://leetcode.com/problems/path-sum-ii/ 題目型別:Tree, Depth-first Search 難度評價:Medium 類似題目:(E) Path Sum, (E) Bina…
-
078
技術LeetCode
【LeetCode with Python】 112. Path Sum
題目 原題頁面:https://leetcode.com/problems/path-sum/ 題目型別:Tree, Depth-first Search 難度評價:Easy 類似題目:(M) Path Sum II, (H) Binary…
-
077
技術LeetCode
【LeetCode with Python】 124. Binary Tree Maximum Path Sum
題目 原題頁面:https://leetcode.com/problems/binary-tree-maximum-path-sum/ 題目型別:Tree, Depth-first Search 難度評價:Hard 類似題目:(M) Pat…
2008
-
031
技術LeetCode
【LeetCode with Python】 111. Minimum Depth of Binary Tree
題目 原題頁面:https://leetcode.com/problems/minimum-depth-of-binary-tree/ 題目型別:Tree, Depth-first Search, Breadth-first Search…
