C Program to Implement a Stack using Linked List
In our previous code, we have seen how to write a C program to implement a stack. Today we will learn how to implement stack ...
View ArticleC Program to Solve the Magic Squares Puzzle
The following C program finds the magic square for a given odd sized number, using iteration. A magic square is an arrangement of numbers from ...
View ArticleC Program to Solve Tower of Hanoi Problem using Recursion
The tower of hanoi is a mathematical puzzle. It consists of three rods, and a number of disks of different sizes which can slide onto ...
View ArticleC Program to Search for an Element in the Linked List without using Recursion
C Program to Search for an Element in the Linked List without using Recursion : This C program, using iteration, searches for an element in ...
View ArticleC Program to Traverse the Tree without using Recursion
C Program to Traverse the Tree without using Recursion : This C program will traverse the tree without using Recursion. The following C program, using ...
View ArticleC Program for Depth First Binary Tree Search without using Recursion
C Program for Depth First Binary Tree Search without using Recursion : The following C program performs a Depth First Search traversal. Depth-first search (DFS) ...
View Article