Skip to content

Community-driven collection of Data Structures and Algorithms solutions in C++, Java, Python, and more programming languages.

Notifications You must be signed in to change notification settings

VeeruYadav45/DSA-Collection

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to the DSA Collection Repository!

This is a comprehensive collection of Data Structures and Algorithms implementations in multiple programming languages, organized specifically for Hacktoberfest 2025 contributions.

Hacktoberfest 2025

Hacktober Badge Star Badge Contributions Pull Requests Badge GitHub contributors

🎯 Repository Purpose

This repository serves as:

  • Learning Resource: A well-organized collection of algorithms and data structures
  • First Contribution Hub: Perfect for newcomers to open source
  • Reference Library: Quick access to implementations in multiple languages
  • Practice Platform: Solve problems and contribute solutions

🗣 Hacktoberfest encourages participation in the open-source community, which grows bigger every year. Complete the challenge and get a tree planted on your name showing your love towards mother Earth 🌍

📢 Register here for Hacktoberfest and make six pull requests (PRs) between October 1st-31st for exclusive T-shirt + Tree contribution! 🔥🌱

👥 Repository Maintainers

🛠️ Admin

GitHub

🛠️ Maintainer

GitHub

Feel free to reach out to any of us for questions, contributions, or support!

📂 Repository Structure

The repository follows a simple two-level structure:

DSA-Collection/
├── LanguageName/     # Your chosen programming language
    └── TopicName/    # Your chosen topic or category
         └── your_solution.ext  # Your implementation

For example:

Python/
├── trees/
│   └── binary_tree_traversal.py
├── dp/
│   └── fibonacci.py
└── arrays/
    └── sorting.py

Java/
├── LinkedLists/
│   └── ReverseList.java
└── Recursion/
    └── Factorial.java

📌 Directory Naming

  • Language directories: Use any clear, standard name (e.g., Python, CPP, JavaScript, Rust)
  • Topic directories: Use descriptive names that reflect the content (e.g., trees, sorting, graphs, strings)
  • Feel free to create new topic directories as needed!tructures and Algorithms (DSA) solutions in multiple programming languages.
    If you're learning DSA or want to practice contributing to open source, this repo is for you.

📌 Supported Languages

We welcome contributions in any programming language! Currently implemented solutions in:

  • Python
  • C++
  • Java

And we're excited to accept solutions in:

  • C
  • JavaScript/TypeScript
  • Go
  • Rust
  • Kotlin
  • Swift
  • PHP
  • Ruby
  • C#
  • And more!

📌 Contribution Guide

  1. Star this repository (to support the project)
  2. Fork this repository
  3. Clone your fork
  4. Create a new branch
  5. Add your solution in an appropriate directory structure:
    • First level: Programming language (e.g., Python/, Java/, CPP/)
    • Second level: Your chosen topic (e.g., trees/, arrays/, graphs/)
    • Example: Python/searching/binary_search.py or Java/Trees/BinarySearch.java
    • Feel free to create new directories if needed
  6. Commit and push
  7. Open a Pull Request

✅ Rules

  • File naming: problem_name.language_extension
  • Comment your code clearly
  • The problem name must be clearly mentioned in the comments
  • Avoid duplicate solutions in the same language
  • New solutions for different languages are welcome

⭐ Support

If you find this project useful, consider starring the repo to help others discover it.


✨ Contributors

admirerr actions-user saviour2 vipu18 henry-AY anuragmuxui bikrampun kartikey2991 Vivek13121 NarenCK11 PrakashShukla0907 adesh2756 ndk123-web Aviral1-jain Vidhi-bhutia harshpareshbhaigosalya oceankesarwani Spider-50140 Umer-Jahangir attu0 nishagii sujanrupu Amber-Mishra-2003 Sugyanee jayalloyd Aadya25416 Kinshu-Learner Noob-coder-007 Pasan11504 azissukmawan bhavishy2801 deepak-kumar-oss pranavverma07 tanmay-dev-001 10vulture1005 Anujmishra2005 Barun-Ojha Eternity0207 Gurdeep99 NoobCoderReturns Pritam-night-Owl Srijan76-code VeeruYadav45 Yaser-123 abhiiiiiii-21 aryanpatel99 djashan eltociear hyprex-deva mayank609 ramanuj-droid ruturajjadhav07 shantanu-gaurav silkie261001 sonu7089

About

Community-driven collection of Data Structures and Algorithms solutions in C++, Java, Python, and more programming languages.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 50.2%
  • Java 32.2%
  • Python 13.1%
  • JavaScript 4.5%