A collection of Data Structures & Algorithms lab programs (Python) by Shubham
This repository contains lab-file programs for Data Structures & Algorithms (DSA) implemented in Python.
These are typical lab assignments covering basics like sorting, searching, stacks, queues, linked lists, etc. This is aimed to help students practise DSA concepts with clear and simple code.
DSA-LAB-FILE/ ├── balancedparentheses.py ├── binarysearch.py ├── bubblesort.py ├── circular.py ├── circularqueue.py ├── deletesingleLL.py ├── inventory.py ├── inventorystock.py ├── linearsearch.py ├── merge.py ├── queue.py ├── reversestring.py ├── singlelinkedlist.py ├── stackbrowser.py ├── undo_operation.py └── (other lab programs)
Python 3.x
Basic understanding of DSA concepts
Any code editor (VS Code, PyCharm, etc.)
Clone the repository:
git clone https://github.com/Bhavishyaa18/DSA-LAB-FILE.git
Go to the project directory:
cd DSA-LAB-FILE
Run any program you want:
python3 bubblesort.py
The repository contains implementations for multiple DSA topics, including:
Searching Algorithms
Linear Search
Binary Search
Sorting Algorithms
Bubble Sort
Merge Sort
Data Structures
Stack
Queue
Circular Queue
Single Linked List
Circular Linked List
String Operations
Reverse String
Balanced Parentheses Checker
Miscellaneous Programs
Undo Operation Stack
Browser Stack Navigation
Inventory Management System
Contributions are welcome! Feel free to add new programs, improve code, or update documentation.
Steps:
Fork the repository
Create a new branch
Add your changes
Commit and push
Open a Pull Request
This project is licensed under the MIT License.
Created by Shubham If you have any suggestions or doubts, feel free to reach out.