# Category Archives: Tree Programs

## C Program to check if a Binary tree is AVL Tree or Not

Check Binary tree is AVL Tree or Not Write a C Program to check if a Binary tree is AVL Tree or Not. Here’s simple Program to check if a Binary tree is AVL Tree or Not in C Programming Language. AVL Tree AVL tree is a self balanced binary search tree. That means, an… Read More »

## C Program to Print Spiral Order Traversal of a Binary Tree

Print Spiral Order Traversal Write a C Program to Print Spiral Order Traversal of a Binary Tree. Here’s simple Program to Print Spiral Order Traversal of a Binary Tree in C Programming Language. Spiral Order Traversal In spiral order traversal we need use two stacks. First stack is used to traverse the nodes at even level… Read More »

## C Program to Print Right to Left Nodes at k level of Binary Tree

Print Right to Left Nodes at k level Write a C Program to Print Right to Left Nodes at k level of Binary Tree. Here’s simple Program to print rightmost to leftmost node at k level of binary tree in C Programming Language.

## C Program to Print Left to Right Nodes at k level of Binary Tree

Print Left to Right Nodes at k level Write a C Program to Print Left to Right Nodes at k level of Binary Tree. Here’s simple Program to print leftmost and rightmost node at k level of binary tree in C Programming Language.

## Write a C Program to find Maximum Width of a Binary tree

Maximum Width of a Binary tree Write a C Program to find Maximum Width of a Binary tree. Here’s simple Program to find Maximum Width means Diameter of a Binary tree in C Programming Language.

## C Program to Count Number of Nodes at each level in Binary Tree

Count Number of Nodes at each level Write a C Program to Count Number of Nodes at each level in Binary Tree. Here’s simple Program to Find Number of Nodes at a level in Binary Tree in C Programming Language.

## C Program to Check whether Binary Tree is Binary Search Tree or not

Check Binary Tree is Binary Search Tree or not Write a C Program to Check whether a Binary Tree is Binary Search Tree or not. Here’s simple Program to Check if a Binary Tree is Binary Search Tree(BST) or not in C Programming Language.

## C Program to Check if two Trees are Mirror Images or not

Check if two Trees are Mirror Images or not Write a C Program to Check if two Trees are Mirror Images or not. Here’s simple Program to Check if two binary trees are mirror image of each other or not in C Programming Language.

## C Program to Swap right and left children of a binary tree

Swap right and left children of a binary tree Write a C Program to Swap right and left children of a binary tree. Write an algorithm to Swap Nodes of a Binary Tree. Here’s simple Program to Swap right and left children of a binary tree in C Programming Language.

## C Program to Check whether two Binary trees are Identical or not

Check Binary trees are Identical or not Write a C Program to Check whether two Binary trees are Identical or not. Write an algorithm to determine if two binary trees are Equal or not. Here’s simple Program to Check whether two Binary trees are Identical or not in C Programming Language.