Problem Statement: Given below is a binary tree. The task is to print the top view of the binary tree.

Continue reading# Category: Binary Tree

## Right/Left view of binary tree

Problem Statement: Given a Binary Tree, find the Right/Left view of it. The right view of a Binary Tree is

Continue reading## Kth largest/smallest element in Binary Search Tree

Problem statement: Given a binary search tree find the kth largest and smallest element in Binary Search Tree. Examples: Input:

Continue reading## Search in a Binary Search Tree

Problem Statement: Given a root of a Binary Search Tree and the value of a node as X . Find

Continue reading## Check for Symmetrical Binary Tree

Problem Statement: Check for Symmetrical Binary Trees Write a program to check whether a binary tree is symmetrical or not.

Continue reading## Morris Inorder Traversal of a Binary tree

Problem Statement: Write a program for Morris Inorder Traversal of a Binary Tree. Example: Input: Output: Inorder Traversal of this

Continue reading## Calculate the Diameter of a Binary Tree

Problem Statement: Find the Diameter of a Binary Tree. Diameter is the length of the longest path between any 2

Continue reading## Check if the Binary Tree is Balanced Binary Tree

Problem Statement: Check whether the given Binary Tree is a Balanced Binary Tree or not. A binary tree is balanced if,

Continue reading## Maximum depth of a Binary Tree

Problem Statement: Find the Maximum Depth of Binary Tree. Maximum Depth is the count of nodes of the longest path

Continue reading