






Data Structure is a collection of data elements whose organization is characterized by accessing operations which are used to store, retrieve and access indivisual data elements.
This section contains programs that implements different Data Structures both in Graphical and Console Mode. I hope that you will be able to understand any Data Structure by running its Graphical Example.
Select one of the Topics listed below:

Note: All the given files are in zip format, which can be uncompressed with the help of a compression tool. If you do not have any tool, then you can get one from Utilities : Compression Tools. 


Array 






DS01 

A C++ Program to show the Multiplication, Addition, Subtraction, Sorting, Transpose, Searching and Merging of two Matrices. 
DS38 

A C++ Program to implement the List Class using Arrays. 





Stack 






DS02 

A C++ Program to illustrate the implementation of array as a Stack using Graphics. 
DS03 

A C++ Program to illustrate the implementation of Stack as an Arithmetic Expression Evaluater using Graphics. 
DS19 

A C++ Program to illustrate the implementation of array as a Stack. 
DS27 

A C++ Program to illustrate the implementation of Stack as an Arithmetic Expression Evaluater. 
DS28 

A C++ Program to convert an Infix Expression into a Postfix Expression. 
DS29 

A C++ Program to convert a Postfix Expression into an Infix Expression. 
DS42 

A C++ Program to implemen Arithmetic Expression Evaluater accepting {} & [] also. 





Queue 






DS04 

A C++ Program to illustrate the implementation of arrays as a Linear Queue using Graphics. 
DS05 

A C++ Program to illustrate the implementation of arrays as a Circular Queue using Graphics. 
DS20 

A C++ Program to illustrate the implementation of array as a Linear Queue. 
DS21 

A C++ Program to illustrate the implementation of arrays as a Circular Queue. 





Linked List 






DS06 

A C++ Program to illustrate the implementation of Linked List as a Stack using Graphics. 
DS07 

A C++ Program to illustrate the implementation of Linked List as a Queue using Graphics. 
DS08 

A C++ Program to illustrate the implementation of Double Ended Linked List as a Stack using Graphics. 
DS09 

A C++ Program to illustrate the implementation of Double Ended Linked List as a Queue using Graphics. 
DS22 

A C++ Program to illustrate the implementation of Linked List as a Stack. 
DS23 

A C++ Program to illustrate the implementation of Linked List as a Queue. 
DS24 

A C++ Program to illustrate the implementation of Double Ended Linked List as a Stack. 
DS25 

A C++ Program to illustrate the implementation of Double Ended Linked List as a Queue. 
DS30 

A C++ Program to print a Single Ended Linked List in Original & Reverse Order and sort it in Ascending & Decending Order. 
DS33 

A C++ Program to convert an Infix Expression into a Postfix Expression using Linked List as a Stack. 
DS39 

A C++ Program to implement Sparse Matrix using Linked List. 





Tree 






DS10 

A C++ Program to illustrate the implementation of linked list as a Binary Search Tree using Graphics. 
DS26 

A C++ Program to illustrate the implementation of linked list as a Binary Search Tree. 
DS34 

A C++ Program to show find the maximum depth of a Binary Search Tree. 
DS40 

A C++ Program to implement Set Class using Binary Search Tree. 





Sorting 






DS11 

A C++ Program to illutrate the Bubble Sort. 
DS12 

A C++ Program to illutrate the Selection Sort. 
DS13 

A C++ Program to illutrate the Insertion Sort. 
DS14 

A C++ Program to illutrate the Radix Sort. 
DS15 

A C++ Program to illutrate the Merge Sort. 
DS16 

A C++ Program to illutrate the Quick Sort. 





Searching 






DS17 

A C++ Program to search an element in an array using Linear Search [ Sequential Search ]. 
DS18 

A C++ Program to search an element in an array using Binary Search. 





Hashing 






DS31 

A C++ Program to show the Simple implementation of Hashing. 
DS32 

A C++ Program to show the implementation of Hashing with Insert, Delete and Search functionality using doubleended Linked List. 
DS41 

A C++ Program to show an example of Hashing using MidSquare Method. 
DS43 

A C++ Program to show an example of Hashing. 





Recursion 






DS35 

A C++ Program that computes the N^{th} term of the fibonacci series and also print the series upto the N^{th} term. 
DS36 

A C++ Program that reads a numbers , then coumputes and displays the factorial of the given number. 
DS37 

A C++ Program to solve the mystery of Towers of Hanoi. 




