## Iterative approach to check for children sum property in a Binary Tree

Given a binary tree, write a function that returns true if the tree satisfies below property: For every node, data value must be equal to… Read More »

- MakeMyTrip Interview Experience 2019
- Iterative Method To Print Left View of a Binary Tree
- Count the Number of Binary Search Trees present in a Binary Tree
- Flatten a binary tree into linked list | Set-3
- Zig-Zag traversal of a Binary Tree using Recursion
- Difference between graph and tree
- Remove minimum elements from either side such that 2*min becomes more than max | Set 2
- Clockwise Spiral Traversal of Binary Tree
- Shortest root to leaf path sum equal to a given number
- Reverse zigzag Traversal of a Binary Tree
- Iterative Boundary traversal of Complete Binary tree
- Check if given Preorder, Inorder and Postorder traversals are of same tree | Set 2
- Number of subarrays have bitwise OR >= K
- Sum of nodes at maximum depth of a Binary Tree | Set 2
- Reverse Level Order traversal in spiral form
- Check if the given Binary Tree have a Subtree with equal no of 1's and 0's
- Count all Grandparent-Parent-Child Triplets in a binary tree whose sum is greater than X
- Print All Leaf Nodes of a Binary Tree from left to right | Set-2 ( Iterative Approach )
- Find the number of distinct pairs of vertices which have a distance of exactly k in a tree
- DP on Trees | Set-3 ( Diameter of N-ary Tree )
- Spanning Tree With Maximum Degree (Using Kruskal's Algorithm)
- Sum of all the Boundary Nodes of a Binary Tree
- Determine the count of Leaf nodes in an N-ary tree
- Sum of nodes in bottom view of Binary Tree
- Distribute candies in a Binary Tree
- Check if the given binary tree has a sub-tree with equal no of 1's and 0's | Set 2
- Maximum number of leaf nodes that can be visited within the given budget
- LCA in a tree using Binary Lifting Technique
- Print Binary Tree levels in sorted order | Set 3 (Tree given as array)
- Adobe Interview Experience ( 3 Years Exp )

Given a binary tree, write a function that returns true if the tree satisfies below property: For every node, data value must be equal to… Read More »

Given a Binary Tree. The task is to print the circular reverse clockwise spiral order traversal of the given binary tree. Reverse Clockwise Traversal means… Read More »

Given an undirected unweighted connected graph consisting of n vertices and m edges. The task is to find any spanning tree of this graph such… Read More »

Given a Binary tree, the task is to count the number of nodes with two children at a given level L. Examples: Input: 1 /… Read More »

Given a binary tree, the task is to print the maximum sum of nodes of a sub-tree which is also a Binary Search Tree. Examples:… Read More »

Given an array that represents a tree in such a way that array indexes are values in tree nodes and array values give the parent… Read More »

Given a binary tree, the task is to create a new binary tree which is a mirror image of the given binary tree. Examples: Input:… Read More »

Given a tree having every node’s value as either 0 or 1, the task is to find whether the given binary tree contains any sub-tree… Read More »

Given a tree having every node’s value as either 0 or 1, the task is to find the maximum size of the sub-tree in the… Read More »

Given an unsorted array, trim the array such that twice of minimum is greater than the maximum in the trimmed array. Elements should be removed… Read More »

Given a binary tree, the task is to print the sum of nodes in bottom view of the given Binary Tree. Bottom view of a… Read More »

Given a Binary Tree. The task is to print the circular clockwise spiral order traversal of the given binary tree. Examples: Input : 1 /… Read More »

Given a binary tree, the task is to print the nodes of the tree in a reverse anti-clockwise spiral manner. Examples: Input : 1 /… Read More »

Given a binary tree, the task is to print all leaf nodes of the given binary tree from left to right. That is, the nodes… Read More »

Given a binary tree and two nodes a and b, the task is to print the minimum and the maximum node value that lies in… Read More »