# Tag Archives: Binary Tree

Given a Binary Tree, the task is to find the maximum value of GCD from any path from the root node to the leaf node.… Read More
Given a Binary Tree consisting of N nodes, the task is to print its Double Order Traversal. Double Order Traversal is a tree traversal technique… Read More
Given a binary tree and a value K, the task is to check if every node of the binary tree has either the value of… Read More
Given a Binary Tree, the task is to perform a Specific Level Order Traversal of the tree such that at each level print 1st element… Read More
Given a Binary Tree, the task is to find the maximum value of Bitwise AND from any path from the root node to the leaf… Read More
Given a binary tree, the task is to find the absolute difference between the even valued and the odd valued nodes in a binary tree.… Read More
Given a binary tree consisting of N nodes, the task is to print the nodes that are just above the leaf node.Examples: Input: N =… Read More
Given a Binary Tree, the task is to print the nodes that have grandchildren. Examples:  Input:   Output: 20 8 Explanation: 20 and 8 are the grandparents of… Read More
Given a Binary Tree and a positive integer K. The task is to check whether the Balanced BST of size K exists in a given… Read More
Given a binary tree, the task is to print the longest path from the root node to the leaf node. If there are multiple answers… Read More
Given an integer Q representing the number of queries and an array where each query has an integer N. Our task is to iterate through… Read More
Given a Binary Tree, the task is to check if the maximum sum level divides the binary tree into the two parts of two equal… Read More
Double Threaded Binary Search Tree: is a binary search tree in which the nodes are not every left NULL pointer points to its inorder predecessor… Read More
Prerequisites: Binary Tree to Doubly Linked ListGiven a Binary Tree, the task is to create a Balanced Binary Tree from all the leaf nodes of… Read More
Given a Binary Tree, the task is to convert the given Binary tree into Min-Max Product Tree and print the level-order sequence of the modified… Read More