0% found this document useful (0 votes)
12 views

Data Structure Lab Program Question

HD jednnsskskejensuwbsnsbwksdshbdsnnd Udhdhdbun yebsgeb

Uploaded by

dhinakargopal23
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

Data Structure Lab Program Question

HD jednnsskskejensuwbsnsbwksdshbdsnnd Udhdhdbun yebsgeb

Uploaded by

dhinakargopal23
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

LAB EXPERIMENT QUESTION

https://www.slideshare.net/slideshow/data-structures-using-c-
practical-file/142489354

1.Design, Develop and Implement a menu driven Program in C/C+


+ for the following operations on STACK of Integers (Array
Implementation of Stack with maximum size MAX)
a. Push an Element on to Stack
b. Pop an Element from Stack
c. Demonstrate how Stack can be used to check Palindrome
d. Demonstrate Overflow and Underflow situations on Stack
e. Display the status of Stack
f. Exit Support the program with appropriate functions for each of
the above operations
2.Design, Develop and Implement a menu driven Program in C/C+
+ for the following operations on Circular QUEUE of Characters
a. Insert an Element on to Circular QUEUE
b. Delete an Element from Circular QUEUE
c. Demonstrate Overflow and Underflow situations on Circular
QUEUE
d. Display the status of Circular QUEUE
e. Exit Support the program with appropriate functions for each of
the above operations
3.Design, Develop and Implement a menu driven Program in C/C+
+ for the following operations on Singly Linked List (SLL)
a. Create a SLL.
b. Insert at Beginning
c. Insert at Last
d. Insert at any random location
e. Delete from Beginning
f. Delete from Last
g. Delete node after specified location
h. Search for an element
i. Show
j. Exit
2.Design, Develop and Implement a menu driven Program in C/C+
+ for the following Array operations
a. Creating an Array of N Integer Elements
b. Display of Array Elements with Suitable Headings
c. Inserting an Element at a given valid Position (POS)
d. Deleting an Element at a given valid Position(POS)
e. Exit. Support the program with functions for each of the above
operations
3.Design, Develop and Implement a menu driven Program in C/C+
+ for the following operations on Singly Linked List (SLL)
a. Create a SLL.
b. Insert at Beginning
c. Insert at Last
d. Insert at any random location
e. Delete from Beginning
f. Delete from Last
g. Delete node after specified location
h. Search for an element
i. Show
j. Exit
4.Design, Develop and Implement a menu driven Program in C/C+
+ for the following operations on Binary Search Tree (BST) of
Integers
a. Create a BST of N Integers: 8, 10, 3, 1, 6, 14, 7
b. Traverse the BST in Inorder
c. Traverse the BST in Preorder
d. Traverse the BST in and Post Order

Stacks:
1.Write a program in C to implement Stack using
Array.
2.Write a program in C to implement Stack using
Linked List.
3.Write a program in C using dynamic memory
allocation by which stackcan be implemented.
4.Write a program in C using stack to determine GCD
of given numbers.
5.Write a program in C using stack to determine
LCM of given numbers.
6.Write a program in C using stack to d
e t e r m i n e n t h e l e m e n t o f a Fibonacci series.

You might also like