# DATA STRUCTURES - C Plus Plus Codes

## Floyd Warshall Algorithm

Description This program shows the implementation of Floyd Warshall Shortest Path Algorithm. Source Code #include&lt;iostream.h&gt; #include&lt;conio.h&gt; #include&lt;stdio.h&gt; #include&lt;stdlib. ...

1 Comments. 2703 views since Sep 1, 2008

Description C++ program to implement Queue ADT using Single linked lists. Source Code //program to implement Queue ADT using linked lists #include&lt;iostream.h&gt; #include&lt;conio.h&gt; #include&l ...

0 Comments. 1685 views since Aug 9, 2010

## AVL Tree

Description This program shows all possible Operations on an AVL Tree Source Code /* Adelson Velseky Landis Tree */ # include &lt;iostream.h&gt; # include &lt;stdlib.h&gt; # include &lt;conio.h&gt; ...

0 Comments. 1538 views since Sep 1, 2008

## Bubble Sort

Description This is a Code which sorts a given set of numbers by using Bubble Sort algorithm Source Code #include &lt;stdio.h&gt; #include &lt;iostream.h&gt; #include&lt;conio.h&gt; //Bubble sort functio ...

0 Comments. 1226 views since Aug 17, 2008

## Enqueue & Dequeue

Description this is a Code which is used to Create a Queue,Enqueue an element in a Queue,Dequeue an element from a Queue,to display the member elements of a Queue & to display the Size of the Queue. Source Code <pre name="code" class ...

1 Comments. 1198 views since Aug 17, 2008

Description This is a Code which creates a Link List,enters a new Node into a Link List,Deletes an already existin Node from the Link List from any position in the Link List & can print the Members of the list. Source Code <pre name= ...

0 Comments. 1158 views since Aug 17, 2008

## Heap Sort

Description This is a Code to implement the HeapSort Algorithm for a given set of numbers. Source Code #include &lt;iostream.h&gt; #include &lt;conio.h&gt; int heapSize = 10; void print(int a[]) { for ( ...

0 Comments. 1152 views since Aug 17, 2008

## Towers of Hanoi

Description This is a Code to implement the Towers of Hanoi problem using C++. Source Code #include &lt;iostream.h&gt; // a disk with a value , which is an element of the stack ,tower in this cas ...

0 Comments. 1145 views since Aug 17, 2008

## Bucket Sort

Description This Code implements the Bucket Sort algorithn using C++ to sort a given set of numbers. Source Code #include &lt;iostream.h&gt; class element //element { public: int value; element *nex ...

0 Comments. 1120 views since Aug 17, 2008

## Insertion Sort

Description This is a Code which is used to sort a given set of numbers using Insertion Sort Algorithm. Source Code #include &lt;iostream.h&gt; #include &lt;conio.h&gt; void sort(int * a) { for (int j ...

0 Comments. 1117 views since Aug 17, 2008

## Shanon Fano

Description Using Shannon's algorithm for code assignment to characters of varying probabilities. Source Code #include&lt;stdio.h&gt; #include&lt;conio.h&gt; #include&lt;math.h&gt; int temp,i,j,col=0,n ...

0 Comments. 1116 views since Aug 29, 2008

## Selection Sort

Description This is a Code to implement the Selection Sort Algorithnm for a given set of numbers. Source Code #include &lt;iostream.h&gt; void selectionSort(int *array,int length) //selection sort funct ...

0 Comments. 1104 views since Aug 17, 2008

## BST - Binary Search Tree

Description Binary search tree program Source Code //BINARY SEARCH TREE #include &quot;stdio.h&quot; #include &quot;conio.h&quot; #include&quot;malloc.h&quot; #include&quot;stdlib.h&quot; typedef str ...

0 Comments. 1097 views since Jul 2, 2011

## Circular Queue

Description This is a Program for Circular Queue Implementation using Arrays. Source Code #include&lt;iostream.h&gt; #include&lt;conio.h&gt; const int MAX = 5; class cqueue { ...

0 Comments. 1070 views since Aug 31, 2008

## Queue Implementation using Linked List

Description This program takes the Name,Age & Height of a person in a Queue and does all related operations Source Code #include &lt;iostream.h&gt; #include &lt;conio.h&gt; #include &lt;stdlib.h&gt; ...

0 Comments. 1048 views since Aug 26, 2008

## Binary Tree

Description This is a simple program illustrating all operations on a Binary Tree Source Code /* Binary tree implementation in CPP */ /* --------------------------------- */ #include &lt;iostream.h& ...

0 Comments. 1040 views since Aug 26, 2008

## Merge Sort

Description This is a Code which implements MergeSort Algorithm to sort a given set of numbers. Source Code #include &lt;iostream.h&gt; #include &lt;conio.h&gt; #include &lt;stdio.h&gt; void print(int * ...

0 Comments. 1008 views since Aug 17, 2008

## Stack Implementation

Description This is a simple code which describes the basic stack implementation like push, pop etc.... Source Code # include&lt;iostream.h&gt; # include&lt;process.h&gt; # include&lt;conio.h&gt; # define ...

0 Comments. 994 views since Aug 23, 2008

Description This is a code which merges two Sorted Link Lists to form a third Link List. Source Code #include&lt;iostream.h&gt; #include&lt;conio.h&gt; #include&lt;process.h&gt; // Creating a N ...

0 Comments. 971 views since Aug 31, 2008