Ecommet

DSA sheet · Topic

Trees interview problems

Binary trees and binary search trees: recursion, depth-first and breadth-first traversal, and passing information up and down.

  • 18 problems
  • Java + Python
  • Free, no sign-up
Progress options

08 Trees Binary trees and binary search trees: recursion, depth-first and breadth-first traversal, and passing information up and down. 0 / 18
  1. 62 Binary Tree Inorder Traversal Easy Practice Binary Tree Inorder Traversal on LeetCode (opens in a new tab)
  2. 63 Maximum Depth of Binary Tree Easy Practice Maximum Depth of Binary Tree on LeetCode (opens in a new tab)
  3. 64 Invert Binary Tree Easy Practice Invert Binary Tree on LeetCode (opens in a new tab)
  4. 65 Same Tree Easy Practice Same Tree on LeetCode (opens in a new tab)
  5. 66 Symmetric Tree Easy Practice Symmetric Tree on LeetCode (opens in a new tab)
  6. 67 Diameter of Binary Tree Easy Practice Diameter of Binary Tree on LeetCode (opens in a new tab)
  7. 68 Balanced Binary Tree Easy Practice Balanced Binary Tree on LeetCode (opens in a new tab)
  8. 69 Subtree of Another Tree Easy Practice Subtree of Another Tree on LeetCode (opens in a new tab)
  9. 70 Binary Tree Level Order Traversal Medium Practice Binary Tree Level Order Traversal on LeetCode (opens in a new tab)
  10. 71 Binary Tree Right Side View Medium Practice Binary Tree Right Side View on LeetCode (opens in a new tab)
  11. 72 Binary Tree Zigzag Level Order Traversal Medium Practice Binary Tree Zigzag Level Order Traversal on LeetCode (opens in a new tab)
  12. 73 Validate Binary Search Tree Medium Practice Validate Binary Search Tree on LeetCode (opens in a new tab)
  13. 74 Kth Smallest Element in a BST Medium Practice Kth Smallest Element in a BST on LeetCode (opens in a new tab)
  14. 75 Lowest Common Ancestor of a Binary Search Tree Medium Practice Lowest Common Ancestor of a Binary Search Tree on LeetCode (opens in a new tab)
  15. 76 Lowest Common Ancestor of a Binary Tree Medium Practice Lowest Common Ancestor of a Binary Tree on LeetCode (opens in a new tab)
  16. 77 Construct Binary Tree from Preorder and Inorder Traversal Medium Practice Construct Binary Tree from Preorder and Inorder Traversal on LeetCode (opens in a new tab)
  17. 78 Binary Tree Maximum Path Sum Hard Practice Binary Tree Maximum Path Sum on LeetCode (opens in a new tab)
  18. 79 Serialize and Deserialize Binary Tree Hard Practice Serialize and Deserialize Binary Tree on LeetCode (opens in a new tab)

All topics