標籤
Tree
共 19 篇
2014
-
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…
-
030
技術LeetCode
【LeetCode with Python】 104. Maximum Depth of Binary Tree
題目 原題頁面:https://leetcode.com/problems/maximum-depth-of-binary-tree/ 題目型別:Tree, Depth-first Search 難度評價:Easy 類似題目:(E) Bal…
-
029
技術LeetCode
【LeetCode with Python】 110. Balanced Binary Tree
題目 原題頁面:https://leetcode.com/problems/balanced-binary-tree/ 題目型別:Tree, Depth-first Search 難度評價:Easy 類似題目:(E) Maximum Dep…
-
027
技術LeetCode
【LeetCode with Python】 94. Binary Tree Inorder Traversal
題目 原題頁面:https://leetcode.com/problems/binary-tree-inorder-traversal/ 題目型別:Tree, Hash Table, Stack 難度評價:Medium 類似題目:(M) V…
-
026
技術LeetCode
【LeetCode with Python】 144. Binary Tree Preorder Traversal
題目 原題頁面:https://leetcode.com/problems/binary-tree-preorder-traversal/ 題目型別:Tree, Stack 難度評價:Medium 類似題目:(M) Binary Tree…
-
014
技術LeetCode
【LeetCode with Python】 100. Same Tree
題目 原題頁面:https://leetcode.com/problems/same-tree/ 題目型別:Tree, Depth-first Search 難度評價:Easy Given two binary trees, write a…
-
011
技術LeetCode
【LeetCode with Python】 98. Validate Binary Search Tree
題目 原題頁面:https://leetcode.com/problems/validate-binary-search-tree/ 題目型別:Tree, Depth-first Search 難度評價:Medium 類似題目:(M) Bi…
