Electrofriends

C++ program to implement the double ended queue using a double linked list

by Ranjith | March 10th, 2010.

class node
{
public:
int data;
class node *next;
class node *prev;
};

Read More..

C++ program to perform Insert, Delete, Search an element into a binary search tree

by Ranjith | March 10th, 2010.

/* Write a C++ program to perform the following operations:
a) Insert an element into a binary search tree.
b) Delete an element from a binary search tree.
c) Search for a key element in a binary search tree. */

Read More..

C++ program to perform Insertion and Deletion operations on AVL-trees

by Ranjith | March 10th, 2010.

void AVL::display(AVLNODE *temp)
{
if(temp==NULL)
return;
cout<data<<" ";
display(temp->left);
display(temp->right);
}

Read More..

Share and enjoy

    • Digg
    • Facebook
    • Technorati
    • StumbleUpon
    • Twitter
    • Reddit
    • del.icio.us
    • Yahoo! Buzz
Copyright©2009 www.electrofriends.com All Rights Reserved. Powered by Dhyeya