👨‍💻
Cracking-Interview
CtrlK
  • Data Structures and Algorithms
  • Arrays
  • Linked List
  • Strings
  • Binary Tree
    • Terminology and Formula
    • N-ary Tree
    • Tree Traversals
    • Problems Related to Binary Trees
      • 1.Maximum/Minimum Depth of Binary Tree
      • 2.Lowest Common Ancestor of a Binary Tree
      • 3.Symmetric Tree
      • 4.Path Sum
      • 5.Tree : Top View
      • 6. Diameter of Binary Tree
      • 7.Populating Next Right Pointers in Each Node
      • 8.Balanced Binary Tree
      • 9.Binary Tree Zigzag Level Order Traversal
      • 10.Invert Binary Tree
      • 11.Binary Tree Right Side View
      • 12.Validate Binary Tree Nodes
      • 13.Merge Two Binary Trees
      • 14.Flatten Binary Tree to Linked List
      • 15. Construct Binary Tree from Preorder and Inorder Traversal
      • 16. Construct Binary Tree from Inorder and Postorder Traversal
      • 17. Binary Tree Maximum Path Sum
      • 18. Sum Root to Leaf Numbers
      • 19. Subtree of Another Tree
      • 20. Even Odd Tree
      • 21. Delete Nodes And Return Forest
      • 22. Maximum Binary Tree
      • 23. Linked List in Binary Tree
      • 24. Longest Univalue Path
      • 25. Sum of Distances in Tree
      • 26. Distribute Coins in Binary Tree
      • 27. Find Duplicate Subtrees
      • 28. Serialize and Deserialize BST
      • 29. Serialize and Deserialize Binary Tree
      • 30. Path Sum III
      • 31. Delete Leaves With a Given Value
      • 32. All Possible Full Binary Trees
      • 33. All Nodes Distance K in Binary Tree
      • 34. Maximum Width of Binary Tree
  • Stack and Queue
  • Hash Table
  • Binary Search
  • Binary Search Tree
  • Bit manipulation
  • Graph
  • Disjoint Sets(Union-Find)
  • Heap and Priority Queue
  • Trie
  • Dynamic Programming
  • Greedy Algorithms
  • Backtracking
  • Sub Array and Sliding Window Problems
  • Design
  • Maths
  • Sorting-Algorithms
    • Merge Sort
    • Quick Sort
    • Heap Sort
    • Selection Sort
    • Bubble Sort
    • Insertion Sort
  • Expected Interview MCQ and Questions c++
  • Concepts in C++
  • System Design Questions
  • 💾DBMS
    • Introduction
    • RBMS
    • JOINS
    • SQL
  • 🖥️OS
    • OS and Its Types
    • Process Concept and Threads
    • Process Synchronization
    • Deadlock in Operating System
    • Memory Management
    • Imp Questions of OS for Interviews
  • 🚙OOPS
    • Introduction and Definitions
  • 📨COMPUTER-NETWORKS
    • OSI | TCP IP Model
    • Topology
    • Network Devices
    • IP Address
Powered by GitBook
On this page

Was this helpful?

  1. Binary Tree

Problems Related to Binary Trees

Various problems related to binary trees and its solution

1.Maximum/Minimum Depth of Binary Tree2.Lowest Common Ancestor of a Binary Tree3.Symmetric Tree4.Path Sum5.Tree : Top View6. Diameter of Binary Tree7.Populating Next Right Pointers in Each Node8.Balanced Binary Tree9.Binary Tree Zigzag Level Order Traversal10.Invert Binary Tree11.Binary Tree Right Side View12.Validate Binary Tree Nodes13.Merge Two Binary Trees14.Flatten Binary Tree to Linked List15. Construct Binary Tree from Preorder and Inorder Traversal16. Construct Binary Tree from Inorder and Postorder Traversal17. Binary Tree Maximum Path Sum18. Sum Root to Leaf Numbers19. Subtree of Another Tree20. Even Odd Tree21. Delete Nodes And Return Forest22. Maximum Binary Tree23. Linked List in Binary Tree24. Longest Univalue Path25. Sum of Distances in Tree26. Distribute Coins in Binary Tree27. Find Duplicate Subtrees28. Serialize and Deserialize BST29. Serialize and Deserialize Binary Tree30. Path Sum III31. Delete Leaves With a Given Value32. All Possible Full Binary Trees33. All Nodes Distance K in Binary Tree34. Maximum Width of Binary Tree

Previous6. Binary Tree Level Order Traversal IINext1.Maximum/Minimum Depth of Binary Tree

Last updated 4 years ago

Was this helpful?