Skip to content

Python implementations of classic algorithms & data structures: sorting, searching, linked lists, stacks, queues, trees, graphs, & more.Each implementation includes an explanation of the algorithm or data structure and time and space complexity info for each. A useful resource for those learning or implementing these concepts in Python.

zbluee/algo-ds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

algo-ds

Data Structures and Algorithms Welcome to the algo-ds repository! This repository is a collection of code samples that cover various data structures and algorithms. It includes implementations of:

  • Linked Lists (Singly, Doubly, and Circular)

  • Stacks (List, LinkedList)

  • Queues (Array, Linked List, Circular)

  • Trees (Binary, AVL, Red-Black)

  • Graphs (Undirected, Directed, Weighted) In addition to these data structures, various algorithms are also included, such as:

  • Sorting Algorithms (Bubble, Insertion, Selection, Merge, Quick, Heap)

  • Searching Algorithms (Linear, Binary, Interpolation)

This repository is designed to provide you with a comprehensive set of data structures and algorithms implementations that you can use in your projects. Whether you're a beginner or an experienced programmer, you can find useful code snippets here to help you get started with your own projects.

Each data structure and algorithm is implemented in its own file, with comments explaining the logic and functionality. The code is written in Python, but you can easily adapt it to any programming language of your choice.

How to Use

To use the code samples in this repository, simply clone the repository to your local machine and navigate to the relevant file. You can then copy the code and use it in your own project. Alternatively, you can import the relevant file as a module and use the code in your own codebase.

Contributing

We welcome contributions to this repository! If you'd like to contribute, please feel free to submit a pull request. Before submitting a pull request, please make sure that your code follows the repository's coding style and that all tests pass.

About

Python implementations of classic algorithms & data structures: sorting, searching, linked lists, stacks, queues, trees, graphs, & more.Each implementation includes an explanation of the algorithm or data structure and time and space complexity info for each. A useful resource for those learning or implementing these concepts in Python.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages