Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

Data Structures and Algorithms

A repository containing implementations of common data structures and algorithms in various programming languages. Each data structure and algorithm has its own folder with the implementation and explanations.

Table of Contents

Introduction

This repository aims to provide a comprehensive collection of data structures and algorithms implemented in various programming languages. It is intended for educational purposes and to serve as a reference for anyone learning or revising these fundamental concepts.

Folder Structure

The repository is structured as follows:


  Data-Structures-and-Algorithms/
  ├── Arrays/
  │   ├── array_example.py
  │   └── README.md
  ├── LinkedLists/
  │   ├── linked_list_example.py
  │   └── README.md
  ├── Trees/
  │   ├── binary_tree_example.py
  │   └── README.md
  ├── Sorting/
  │   ├── quicksort.py
  │   ├── mergesort.py
  │   └── README.md
  ├── Graphs/
  │   ├── graph_example.py
  │   └── README.md
  └── README.md

Each folder contains implementations and explanations related to a specific data structure or algorithm.

Data Structures

  • Arrays: Basic operations on arrays, including traversal, insertion, and deletion.
  • LinkedLists: Implementations of singly linked lists, doubly linked lists, and circular linked lists.
  • Trees: Binary trees, binary search trees, AVL trees, and more.
  • Graphs: Representations and traversals (DFS, BFS) of graphs.

Algorithms

  • Sorting: Implementations of sorting algorithms like quicksort, mergesort, bubblesort, etc.
  • Search: Binary search, linear search, and other search algorithms.

How to Use

  1. Navigate to the folder of the desired data structure or algorithm.
  2. Open the README.md file for an explanation of the concept.
  3. Review the implementation file (e.g., array_example.py) for the code.
  4. Run the code using your preferred Python interpreter or IDE.

Contributing

If you would like to contribute to this repository, please fork the repository, create a new branch, make your changes, and submit a pull request. Contributions are welcome and appreciated! Make sure to follow the coding style and include comments and documentation where necessary.

About

A repository containing implementations of common data structures and algorithms in various programming languages. Each data structure and algorithm has its own folder with the implementation and explanations.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors