This repository contains solutions to the Data Structures (DS) Lab programs as a part of the B.Tech curriculum in the second year.
This repository, authored by Rajpal Nishad, serves as a compilation of my solutions to the Data Structures Lab programs during my second year of B.Tech. Each program is implemented in C language and aims to demonstrate understanding and proficiency in various data structures and algorithms.
- Program to implement Stack using array in C.
- Program to implement Stack using Linked List in C.
- Program to implement Queue using array in C.
- Program to implement Queue using Linked List in C.
- Program to implement Circular Queue using Array in C.
- program to implement Tower of Hanoi using recursion in C.
- Program to implement Linear Search in C.
- Program to implement Bubble Sort in C.
- Program to implement Selection Sort in C.
- Program to implement Quick Sort in C.
- Program to implement Multiplication of 2D array in C.
- Implementation of a circular queue using an array in C.
- Program to implement Dequeue in C.
To run a specific program, navigate to the corresponding program's folder (DS_Lab_Programs/ProgramX/
). Follow these steps:
- Compile the C code using a C compiler (e.g.,
gcc program.c -o program
). - Run the compiled program (
./program
).
Note: Ensure you have a C compiler installed on your system, such as GCC.
This repository is licensed under the MIT License.