KingDavidJnr / dsa-python

Data Structures, Algorithms and LeetCode practice with Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Data Structures, Algorithms, and LeetCode Practice with Python

Welcome to the Data Structures, Algorithms, and LeetCode practice repository! This repository is dedicated to mastering fundamental data structures, algorithms, and solving problems on LeetCode using Python programming language.

Contents

Data Structures

In this section, you'll find implementations of various data structures using Python. Understanding data structures is crucial for writing efficient code and solving complex problems. Some of the data structures included are:

  • Arrays
  • Linked Lists
  • Stacks
  • Queues
  • Trees (Binary Trees, Binary Search Trees, AVL Trees, etc.)
  • Graphs
  • Heaps
  • Hash Tables

Each data structure comes with explanations, examples, and Python implementations.

Algorithms

Here, we delve into various algorithms used for problem-solving and optimizing code performance. Some of the algorithms covered include:

  • Sorting Algorithms (Bubble Sort, Selection Sort, Insertion Sort, Merge Sort, Quick Sort, etc.)
  • Searching Algorithms (Linear Search, Binary Search, Depth-First Search, Breadth-First Search, etc.)
  • Dynamic Programming
  • Greedy Algorithms
  • Backtracking
  • Divide and Conquer
  • String Algorithms
  • Graph Algorithms (Dijkstra's Algorithm, Prim's Algorithm, Kruskal's Algorithm, etc.)

Each algorithm is accompanied by explanations, examples, and Python implementations.

LeetCode

LeetCode is a popular platform for practicing coding problems, particularly for technical interviews. In this section, we tackle various problems from LeetCode using Python. Each problem solution includes the problem statement, explanation of the approach, and Python implementation.

Contributing

Contributions are welcome! If you'd like to contribute to this repository by adding new data structures, algorithms, or solving LeetCode problems, feel free to submit a pull request. Please ensure that your contributions adhere to the repository's standards and guidelines.

License

This repository is licensed under the MIT License. Feel free to use, modify, and distribute the code for personal and commercial projects.

About

Data Structures, Algorithms and LeetCode practice with Python

License:MIT License


Languages

Language:Python 100.0%