GoodTecher

Be a Good Techer and Tech for Good. www.goodtecher.com

Skip to content
Menu
  • Home
  • LeetCode
    • Array
    • Binary Search
    • Binary Tree
    • Depth First Search
    • Design
    • Dynamic Programming
    • Linked List
    • Math
    • Stack
    • String
    • Two Pointers
    • Union Find
  • Useful

Category: Binary Tree

  • Posted on August 21, 2021August 22, 2021
  • Binary Tree

LeetCode 314. Binary Tree Vertical Order Traversal

Description https://leetcode.com/problems/binary-tree-vertical-order-traversal/ Given the root of a binary tree, return the vertical order traversal of its nodes’ values. (i.e., from top to bottom, column…

Continue Reading
  • Posted on August 21, 2021August 21, 2021
  • Binary Tree

LeetCode 1123. Lowest Common Ancestor of Deepest Leaves

Description https://leetcode.com/problems/lowest-common-ancestor-of-deepest-leaves/ Given the root of a binary tree, return the lowest common ancestor of its deepest leaves. Recall that: The node of a…

Continue Reading
  • Posted on August 19, 2021August 19, 2021
  • Binary Tree

LeetCode 199. Binary Tree Right Side View

Description https://leetcode.com/problems/binary-tree-right-side-view/ Given the root of a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you…

Continue Reading
  • Posted on August 1, 2021August 1, 2021
  • Binary Tree

LeetCode 814. Binary Tree Pruning

Description https://leetcode.com/problems/matrix-block-sum/ Given the root of a binary tree, return the same tree where every subtree (of the given tree) not containing a 1 has…

Continue Reading
  • Posted on July 21, 2021July 21, 2021
  • Binary Tree

LeetCode 1650. Lowest Common Ancestor of a Binary Tree III

Description https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree-iii/ Given two nodes of a binary tree p and q, return their lowest common ancestor (LCA). Each node will have a reference to its…

Continue Reading
  • Posted on July 17, 2021July 17, 2021
  • Binary Tree

LeetCode 117. Populating Next Right Pointers in Each Node II

Description https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii/ Given a binary tree struct Node { int val; Node *left; Node *right; Node *next; } Populate each…

Continue Reading
  • Posted on July 13, 2021July 13, 2021
  • Binary Tree

LeetCode 235. Lowest Common Ancestor of a Binary Search Tree

Description https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree/ Given a binary search tree (BST), find the lowest common ancestor (LCA) of two given nodes in the…

Continue Reading
  • Posted on July 12, 2021July 12, 2021
  • Binary Tree

LeetCode 114. Flatten Binary Tree to Linked List

Description https://leetcode.com/problems/flatten-binary-tree-to-linked-list/ Given the root of a binary tree, flatten the tree into a “linked list”: The “linked list” should use the…

Continue Reading
  • Posted on July 4, 2021October 28, 2021
  • Binary Tree

LeetCode 236. Lowest Common Ancestor of a Binary Tree

Description https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree/ Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree. According…

Continue Reading
  • Posted on May 24, 2021July 21, 2021
  • Binary Tree

LeetCode 1315. Sum of Nodes with Even-Valued Grandparent

Description https://leetcode.com/problems/sum-of-nodes-with-even-valued-grandparent/ Given a binary tree, return the sum of values of nodes with even-valued grandparent.  (A grandparent of a node is…

Continue Reading

Posts navigation

Previous Page Page 1 Page 2 Page 3 … Page 7 Next Page

Follow GoodTecher

Categories

  • HackerRank (1)
  • Interview (7)
  • LeetCode (588)
    • Array (185)
    • Backtracking (18)
    • Binary Search (19)
    • Binary Tree (63)
    • Bit Manipulation (15)
    • Database (40)
    • Depth First Search (6)
    • Design (10)
    • Dynamic Programming (17)
    • Graph (18)
    • Greedy (5)
    • Heap (1)
    • Linked List (26)
    • Math (36)
    • Recursion (3)
    • Sorting (11)
    • Stack (11)
    • String (95)
    • Two Pointers (12)
    • Union Find (2)
  • Machine Learning (7)
  • Technical Solutions (2)
  • Useful (3)
© Copyright 2025 – GoodTecher
Cell Theme by DesignOrbital ⋅ Powered by WordPress