An open API service indexing awesome lists of open source software.

https://github.com/4ssh1/learn-dsa

DSA repo for LEARN DSA slack workspace
https://github.com/4ssh1/learn-dsa

dsa learning slack solutions

Last synced: 9 months ago
JSON representation

DSA repo for LEARN DSA slack workspace

Awesome Lists containing this project

README

          

# Learn-DSA
Welcome to the DSA Repository 🎉
This repo is a collaborative effort where we solve Data Structures & Algorithms problems in multiple languages. Please follow these rules to keep everything organized.

Working on DSA? Check out Learn-DSA, a collaborative repo with solutions in Python, C++, JS, and C#. Our Wiki has detailed problem explanations and guides;
Click 👉 [Explore the Wiki for Detailed Documentation](https://github.com/4ssh1/Learn-DSA/wiki)

## 📂 Repository Structure

Each problem lives in its own folder, grouped by topic. Inside, we keep language-specific subfolders.

```
.
.github
├── workflows
01-problem-one
├── search-in-sorted-array
│ ├── c-sharp
│ ├── cpp
│ ├── js
│ ├── python
│ ├── README.md
├── two-sum
│ ├── c-sharp
│ ├── cpp
│ ├── js
│ ├── python
│ ├── README.md
02-problem-two
├── container-with-most-water
│ ├── c-sharp
│ ├── cpp
│ ├── js
│ ├── python
│ ├── README.md
├── median-of-two-sorted-arrays
│ ├── cpp
│ ├── c_sharp
│ ├── js
│ ├── python
│ ├── README.md
03-problem-three
├── best-time-to-buy-stock
│ ├── c-sharp
│ ├── cpp
│ ├── js
│ ├── python
│ ├── README.md
├── first-missing-positive
│ ├── c-sharp
│ ├── cpp
│ ├── js
│ ├── python
│ ├── README.md
README.md
```

---

## Contributing

### How to Contribute

### 1. Fork & Clone

```bash
git clone https://github.com/4ssh1/Learn-DSA.git
cd Learn-DSA
```

---

### 2. Create a Branch

Name your branch after your username:

```bash
git checkout -b
```
Example:

git checkout -b sarah

---

### 3. Add Your Solution

Navigate to the correct topic folder (e.g. 01-problem-one/two-sum).

### TIP

Add comments top explain your approach, time and space complexity

---

### 4. Commit

Use clear commit messages:

```bash
git add .
git commit -m "Add two-sum solution in Python"

```

---

### 5. Push & Pull Request

```bash
git push origin

```

### Then open a Pull Request (PR) into main.

## ✅ Rules

- One problem per folder → Multiple solutions go inside language subfolders.

- Commit messages should be descriptive.

- Keep code clean & readable → Use proper formatting.

- Do NOT commit directly to main.

- Make sure your code runs without errors.

### 📥 Pull Request Rules

- Always open PRs into main (base branch must be main).

- Your PR will be blocked if it targets any other branch.

- Every PR must be reviewed and approved by someone else before merging.

- Use clear titles like: Add Python solution for two_sum

## 👥 Code Reviews

All PRs will be reviewed before merging.

Reviewers may request changes for formatting, naming, or structure.

Once approved, your PR will be merged into main.

Thanks for contributing.