DSA with C lab assignments for college. Data Structures Lab List of practical exercises, to be implemented in C Language.
- Write a menu driven program that implements following operations (using separate functions) on a linear array: a. Insert a new element at end as well as at a given position b. Delete an element from a given whose value is given or whose position is given c. To find the location of a given element d. To display the elements of the linear array
- Write a menu driven program that maintains a linear linked list whose elements are stored in on ascending order and implements the following operations (using separate functions): a. Insert a new element b. Delete an existing element c. Search an element d. Display all the elements
- Write a program to demonstrate the use of stack (implemented using linear array) in converting arithmetic expression from infix notation to postfix notation.
- Program to demonstrate the use of stack (implemented using linear linked lists) in evaluating arithmetic expression in postfix notation.
- Program to demonstration the implementation of various operations on a linear queue represented using a linear array.
- Program to demonstration the implementation of various operations on a circular queue represented using a linear array.
- Program to demonstration the implementation of various operations on a queue represented using a linear linked list (linked queue).
- Program to illustrate the implementation of different operations on a binary search tree.
- Program to illustrate the traversal of graph using breadth-first search
- Program to illustrate the traversal of graph using depth-first search.
- Program to sort an array of integers in ascending order using bubble sort.
- Program to sort an array of integers in ascending order using selection sort.
- Program to sort an array of integers in ascending order using insertion sort.
- Program to sort an array of integers in ascending order using radix sort.
- Program to sort an array of integers in ascending order using merge sort.
- Program to sort an array of integers in ascending order using quick sort.
- Program to sort an array of integers in ascending order using heap sort.
- Program to sort an array of integers in ascending order using shell sort.
- Program to demonstrate the use of linear search to search a given element in an array.
- Program to demonstrate the use of binary search to search a given element in a sorted array in ascending order.