Category Archives: Data Structure

All Data Structure programs placed here!

Write an algorithm and program for implementation of multiple stacks in an Array – IGNOU BCA Assignment 2017 – 18

BACHELOR OF COMPUTER APPLICATIONS Course Code : BCSL-033 Course Title : Data and File Structures Lab Assignment Number : BCA(3)/L-033/Assignment/17-18 Maximum Marks : 50 Weightage : 25% Write an algorithm and program for implementation of multiple stacks in an Array – IGNOU BCA Assignment 2017 – 18   CODE: #include <stdio.h> #define max 10 int… Read More »

Write an algorithm and program that accepts a Binary Tree as Input and Checks if the input Binary tree is Complete Binary Tree or a Full Binary Tree – IGNOU BCA Assignment 2017 – 18

BACHELOR OF COMPUTER APPLICATIONS Course Code : BCSL-033 Course Title : Data and File Structures Lab Assignment Number : BCA(3)/L-033/Assignment/17-18 Maximum Marks : 50 Weightage : 25% Write an algorithm and program that accepts a Binary Tree as Input and Checks if the input Binary tree is Complete Binary Tree or a Full Binary Tree… Read More »

Write an algorithm for the implementation of a Doubly Linked List – IGNOU MCA Assignment 2017 – 18

MASTER OF COMPUTER APPLICATIONS Course Code : MCS-021 Course Title : Data and File Structures Assignment Number : MCA(2)/021/Assignment/17-18 Maximum Marks : 100 Weightage : 25% Write an algorithm for the implementation of a Doubly Linked List – IGNOU MCA Assignment 2017 – 18 CODE: #include<stdio.h> struct node { int data; struct node *next; struct… Read More »

Write an algorithm for the implementation of an AVL tree – IGNOU MCA Assignment 2017 – 18

MASTER OF COMPUTER APPLICATIONS Course Code : MCS-021 Course Title : Data and File Structures Assignment Number : MCA(2)/021/Assignment/17-18 Maximum Marks : 100 Weightage : 25% Write an algorithm for the implementation of an AVL tree – IGNOU MCA Assignment 2017 – 18 CODE: #include <stdio.h> #include <stdlib.h> struct avl_node_s { struct avl_node_s *left; struct… Read More »

Write an algorithm that accepts a Tree as input and prints the correspondingBinary Tree – IGNOU MCA Assignment 2017 – 18

MASTER OF COMPUTER APPLICATIONS Course Code : MCS-021 Course Title : Data and File Structures Assignment Number : MCA(2)/021/Assignment/17-18 Maximum Marks : 100 Weightage : 25% Write an algorithm that accepts a Tree as input and prints the correspondingBinary Tree – IGNOU MCA Assignment 2017 – 18 CODE: #include <stdio.h> #include <stdlib.h> struct tnode {… Read More »

Write an Algorithm and a Program that accepts a Binary Tree as input and checks whether it is a Height Balanced Tree – IGNOU BCA Assignment 2015 – 16

BACHELOR OF COMPUTER APPLICATIONS Course Code : BCSL-033 Course Title : Data and File Structures Lab Assignment Number : BCA(III)/L-033/Assignment/2015 Maximum Marks : 50 Weightage : 25% Write an Algorithm and a Program that accepts a Binary Tree as input and checks whether it is a Height Balanced Tree. #include <stdio.h> #include <stdlib.h> struct tnode… Read More »

A program in ‘C’ language to display the names and seat numbers of all passengers of a bus in the form of a singly linked list. Use pointers. 10m Dec2007

Write a program in ‘C’ language to display the names and seat numbers of all passengers of a bus in the form of a singly linked list. Use pointers. 10m Dec2007   #include<stdio.h> struct node { int seat; char name[20]; struct node *next; }; typedef struct node node; //with this Use “node” instead of “struct… Read More »

A C program and algorithm to implement Circular Doubly Linked List – IGNOU MCA Assignment 2014 – 15

MASTER OF COMPUTER APPLICATIONS Course Code : MCS-021 Course Title : Data and File Structures Assignment Number : MCA(2)/021/Assign/2014-15 Maximum Marks : 100 Weightage : 25%   Write an algorithm for the implementation of Circular Doubly Linked Lists.   #include<stdio.h> struct node { int data; struct node *next; struct node *prev; }; typedef struct node… Read More »

A C program and algorithm to implement Circular Linked Lists – IGNOU MCA Assignment 2014 – 15

MASTER OF COMPUTER APPLICATIONS Course Code : MCS-021 Course Title : Problem Solving and Programming Assignment Number : MCA(1)/021/Assign/13 Assignment 2013   Write an algorithm for the implementation of Circular Linked Lists.   #include<stdio.h> struct node { int data; struct node *next; }; typedef struct node node; //with this Use “node” instead of “struct node”… Read More »