Write a C Program for Creation of Adjacency Matrix

Creation of Adjacency Matrix Write a C Program for Creation of Adjacency Matrix. Here’s simple Program for adjacency matrix representation of graph in data structure in C Programming Language. Adjacency Matrix:  Adjacency Matrix is a 2D array of size V x V where V is the number of vertices in a graph. Let the 2D array… Read More »

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 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.