Skip to content

AdilShamim8/DSAwithPython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Python Data Structures and Algorithms (DSA)

This repository contains implementations of various data structures and algorithms in Python. The primary objective is to provide useful and easy-to-understand code snippets for common DSA problems.

Table of Contents

Data Structures

Stack

A stack is a linear data structure that follows the Last In First Out (LIFO) principle. You can find the implementation in data_structures/stack.py.

Queue

A queue is a linear data structure that follows the First In First Out (FIFO) principle. You can find the implementation in data_structures/queue.py.

Linked List

A linked list is a data structure that consists of a sequence of elements, where each element points to the next one. You can find the implementation in data_structures/linked_list.py.

Algorithms

Sorting Algorithms

  1. Bubble Sort: An implementation of Bubble Sort can be found in algorithms/sorting/bubble_sort.py.
  2. Quick Sort: An implementation of Quick Sort can be found in algorithms/sorting/quick_sort.py.

Searching Algorithms

  1. Binary Search: An implementation of Binary Search can be found in algorithms/searching/binary_search.py.
  2. Linear Search: An implementation of Linear Search can be found in algorithms/searching/linear_search.py.

Contributing

Feel free to fork the repository and submit pull requests for any improvements or new algorithms you wish to add!

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A collection of Python implementations for fundamental data structures and algorithms, designed to facilitate learning and problem-solving in computer science.

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages