標籤
Tree
共 19 篇
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…
-
106
技術LeetCode
【LeetCode with Python】 96. Unique Binary Search Trees
題目 原題頁面:https://leetcode.com/problems/unique-binary-search-trees/ 題目型別:Tree, Dynamic Programming 難度評價:Medium 類似題目:(M) Un…
-
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…
-
088
技術LeetCode
【LeetCode with Python】 107. Binary Tree Level Order Traversal II
題目 原題頁面:https://leetcode.com/problems/binary-tree-level-order-traversal-ii/ 題目型別:Tree, Breadth-first Search 難度評價:Easy 類似…
-
087
技術LeetCode
【LeetCode with Python】 102. Binary Tree Level Order Traversal
題目 原題頁面:https://leetcode.com/problems/binary-tree-level-order-traversal/ 題目型別:Tree, Breadth-first Search 難度評價:Easy 類似題目:…
-
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…
