Showing posts with label Data Structures. Show all posts
Showing posts with label Data Structures. Show all posts

Tuesday, 26 February 2013

C/C++ Program implementing Dequeue Using Linked List

  Dequeue is a very useful Data Structure. Dequeue is also called a Double-ended queue for which elements can be added to or removed from either the front or back. In this program dequeue is implemented by using Linked List. The following types of dequeues are implemented in the program.

1. Input Restricted Dequeue.
2. Output Restricted Dequeue.

Figure Below Shows a Sample Output


Monday, 25 February 2013

C/C++ Program Implementing Dequeue Using Array


  Dequeue is a very useful Data Structure. Dequeue is also called a Double-ended queue for which elements can be added to or removed from either the front or back. In this program Dequeue is implemented by using Array. The following  types of dequeues are implemented in the program.

1. Input Restricted Dequeue.
2. Output Restricted Dequeue.

Figure Below Shows a Sample Output

Monday, 18 February 2013

C/C++ Program Implementing Circular Queue Using Linked List


  Circular Queue is a very useful Data Structure. In this program Queue is implemented by using Linked List. The following operations are implemented in the Program.
  • Insert Elements.
  • Delete Elements.  
    • Display Elements.
    • Search Element.
    • Change Element.

    Figure Below Shows a Sample Output

    Thursday, 14 February 2013

    C/C++ Program Implementing Circular Linked List

      Circular Linked List is a very useful Data Structure. In this program Queue is implemented by using Linked List. The following operations are implemented in the Program.
    • Create the Circular Linked List.
    • Insert Elements.
    • Delete Elements.  
      • Display Elements.

      Figure Below Shows a Sample Output








      Tuesday, 12 February 2013

      C/C++ Program Implementing Circular Queue Using Array


        Circular Queue is a very useful Data Structure. In this program Circular Queue is implemented by using Array. The following operations are implemented in the Program.
      • Insert Elements.
      • Delete Elements.  
        • Display Elements.

        Figure Below Shows a Sample Output


        Sunday, 10 February 2013

        C/C++ Program Implementing Queue Using Linked List

          Queue is a very useful Data Structure. In this program Queue is implemented by using Linked List. The following operations are implemented in the Program.
        • Insert Elements.
        • Delete Elements.  
        • Display Elements.
        Figure Below Shows a Sample Output

        Thursday, 7 February 2013

        C/C++ Program Implementing Stack Using Linked List


          Stack is a very useful Data Structure. In this program Stack is implemented by using Linked List. The following operations are implemented in the Program.
        • Push Elements.
        • Pop Elements.   
        • Display Elements.
        Figure Below Shows a Sample Output
        Click here to download the C Program implementing Stack using Linked List.

        Wednesday, 6 February 2013

        C/C++ Program Implementing Queue Using Array

          Queue is a very useful Data Structure. In this program Stack is implemented by using Array. The following operations are implemented in the Program.
        • Insert Elements.
        • Delete Elements.   
        • Display Elements.
        Figure Below Shows a Sample Output

        Tuesday, 5 February 2013

        C/C++ Program Implementing Stack Using Array

            Stack is a very useful Data Structure. In this program Stack is implemented by using Array. The following operations are implemented in the Program.
        • Push Elements.
        • Pop Elements.   
        • Display Elements.
        Figure Below Shows a Sample Output

        Monday, 4 February 2013

        C/C++ Program Implementing Doubly Linked List

        Doubly Linked List is a very useful Data Structure. In this Program the following operations are implemented.
        • Add Records.
        • Delete Records.   
        • Display Records.
        • Count the No. of Records in the List.
        • Searching a Record in the List.
        Figure Below Shows a Sample Output

        Click here to download the C Program implementing Doubly Linked List.
        Click here to download the C++ Program implementing Doubly Linked List.

        Sunday, 3 February 2013

        C/C++ Program Implementing Linked List

        Linked List is a very useful Data Structure. In this Program the following operations are implemented.
        • Add Records.
        • Delete Records.   
        • Display Records.
        • Count the No. of Records in the List.
        • Searching a Record in the List.
        Figure Below Shows a Sample Output

        Tuesday, 29 January 2013

        C/C++ Program to Perform Binary Search Tree Operations

        Binary Search Tree is a very useful Data Structure. In this Program the following operations are implemented.
        • Insertion.
        • Deletion.
        • Inorder Traversal.
        • Preorder Traversal.
        • Postorder Traversal.
        • Finding the Root Node.
        Figure Below Shows a Sample Output

        Click here to download the C Program performing Binary Search Tree Operations.
        Click here to download the C++ Program performing Binary Search Tree Operations.