/DSA_python

Primary LanguagePythonMIT LicenseMIT

📊 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! 🎉