Tag: a-tree
All the articles with the tag "a-tree".
-
LeetCode 124 Binary Tree Maximum Path Sum
Solutions for LeetCode 124, hard, tags: tree, depth-first search, dynamic programming, binary tree.
-
LeetCode 105 Construct Binary Tree from Preorder and Inorder Traversal
Solutions for LeetCode 105, medium, tags: array, hash table, divide and conquer, tree, binary tree.
-
LeetCode 2583 Kth Largest Sum in a Binary Tree
Solutions for LeetCode 2583, medium, tags: tree, breadth-first search, sorting, binary tree.
-
LeetCode 2415 Reverse Odd Levels of Binary Tree
Updated:Solutions for LeetCode 239, hard, tags: array, queue, sliding window, heap, monotonic queue.
-
Rust Option, Rc, and RefCell Explained - LeetCode Tree Node and LinkedList Node
Explanation for rust data structure for tree node and linked list node. What is Rc and RefCell? Why Option<Rc<RefCell>>> three wrappers? How to avoid circular reference?
-
LeetCode 1650 LintCode 474 Lowest Common Ancestor of a Binary Tree III
Solutions for LeetCode 1650 LintCode 474, medium, tags: binary tree, hash table, two pointers; companies: microsoft.