Segment TreeIf we have performing addition on a given range of array whose element values updated any time. read more
Print a Binary Tree in Vertical OrderIn this problem, we have given a pointer denoting the root of the binary tree and your task is to read more
Binary Search TreeA binary search tree is a Binary tree with some rules that allows us to maintain the data in a read more
Maximum Binary TreeIn this problem, we have given an array a[ ] of size n. Create the maximum binary tree from the read more
Binary Tree zigzag level order TraversalGiven a binary tree, print the zigzag level order traversal of its node values. (ie, from left to read more
Recover Binary Search TreeConsider a binary search tree, two nodes of the tree have been swapped, design an algorithm to read more
Populating Next Right Pointers in Each NodeGiven a Binary Tree, connect nodes that are at the same level from left to right. Structure of the read more
Top View of Binary TreeThe top view of a binary tree is the set of nodes visible when the tree is viewed from the top. read more
Level of Each node in a Tree from source nodeGiven a tree (an acyclic fully connected graph where constituent nodes are connected by read more
Find Duplicate SubtreesDuplicate Subtrees  Subtrees are said to be duplicate if they have the same node values and read more
Symmetric TreeIn Symmetric Tree problem we have given a binary tree, check whether it is a mirror of itself. A read more
Minimum Height TreesIn the Minimum Height Trees problem, we have given an undirected graph which is tree in nature read more
Trim a Binary Search TreeIn Trim a Binary Search Tree problem we have given a binary search tree and a lower (as L) and read more
Convert Sorted List to Binary Search TreeProblem Given a linked list. The elements of the linked list are in increasing order. Convert the read more
Validate Binary Search TreeProblem In Validate Binary Search Tree problem we have given the root of a tree, we have to check read more
Path SumWhat is Path Sum Problem? In the Path Sum problem, we have given a binary tree and an integer SUM. read more
Level Order Traversal of Binary TreeLevel Order Traversal of a given binary tree is the same as the BFS of the binary tree. Do we read more
Tree Traversal (Preorder, Inorder & Postorder)First, we need to know about what is Traversal in Binary Tree. Traversal is a type of method in read more
Deletion in a Binary TreeDo we already know about what actually Binary Tree is? Now in this post, we are focusing on how to read more
Unique Binary Search TreesFirstly we have to find the total number of counts to form a unique binary search tree. After it, read more
Decision TreeDecision Tree is a decision support tool that helps us for finding the best result. It’s used read more
Verify Preorder Serialization of a Binary TreeFirst, we need to know what actually Preorder of a Binary Tree is. Preorder is a type of Binary read more
Binary Tree Data StructureIn this article, we will read about the Binary Tree Data Structure. Trees are hierarchical data read more
Types of Binary TreeBefore we proceed, we first know what BT really is? Binary Tree is a type of data structure that is read more
Insertion in a Binary TreeIn this article, we will learn the insertion in a binary tree. We have already seen the concept of read more
Delete a TreeTime Complexity : O(n) Space Complexity :O(1) Here we use, Post-Order traversal method to delete read more
Binary TreeBinary Tree is fundamental data structure, where we can easily store and retrieve data. It is made read more
Searching a node in a Binary Search TreeSearching a data value in a Binary Search Tree. It says whether the data value is present or not in read more
Binary Tree Level order traversal in JavaLevel order traversal or breadth first traversal is traversing the same level nodes of a tree then read more
Java program to find the number of Nodes in a Binary TreeTotal number of nodes in a binary tree is known as a size of a tree. We have to write a program in read more