negativenagesh / DSA_python

Repository from Github https://github.comnegativenagesh/DSA_pythonRepository from Github https://github.comnegativenagesh/DSA_python

πŸ“Š Data Structures and Algorithms (DSA) Solutions

gif

Welcome to my DSA Solutions repository! Here, you'll find my implementations of various data structures and algorithms, primarily focused on solving problems from LeetCode using python. πŸš€

πŸ“š Table of Contents

🌟 Features

  • Problem Solving: Solutions to various algorithmic problems.
  • Structured Code: Organized and easy-to-follow code with comments.
  • Detailed Explanations: Each solution includes an explanation of the approach used.
  • Visual Aids: Diagrams and animations to help understand complex concepts.

πŸ› οΈ Tech stack

  • Programming Languages:
    • Python 🐍
  • Tools:
    • LeetCode πŸ”—
    • Visual Studio Code πŸ–₯️

πŸ“‘ Time Complexity Table

Algorithm/DS Best Case Average Case Worst Case Space Complexity
Binary Search O(1) O(log n) O(log n) O(1)
Quick Sort O(n log n) O(n log n) O(n^2) O(log n)
Merge Sort O(n log n) O(n log n) O(n log n) O(n)
BFS O(V + E) O(V + E) O(V + E) O(V)
DFS O(V + E) O(V + E) O(V + E) O(V)

πŸ“– How to Use

  1. Clone this repository:
   git clone https://github.com/negativenagesh/DSA.git
  1. Navigate to the desired problem.

  2. Run the solution using your preferred programming language.

πŸ’¬ Contributing

Contributions are welcome! If you want to add your solutions or improve existing ones:

  1. Fork the repository.

  2. Create a new branch

git checkout -b feature/YourFeature
  1. Make your changes.
  2. Commit your changes
git commit -m 'Add some feature'
  1. Push to the branch
git push origin feature/YourFeature
  1. Open a Pull Request.

πŸ“§ Contact

Feel free to reach out if you have any questions or suggestions!

Email: gaonkarsub@gmail.com

GitHub: negativenagesh

πŸŽ‰ Happy Coding! πŸŽ‰