Skip to content

Commit 0b132a0

Browse files
Enhanced README.md
1 parent 1d6d698 commit 0b132a0

File tree

1 file changed

+92
-31
lines changed

1 file changed

+92
-31
lines changed

README.md

Lines changed: 92 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,111 @@
1+
# **DSA in C++ - Beginner Friendly**
12

2-
# DSA in CPP Beginner Friendly
3+
A **Beginner Friendly** repository to get started with **Data Structures and Algorithms (DSA)** in **C++**. This repo contains questions commonly asked in interviews and online assessments, with detailed solutions.
34

4-
A Beginner Friendly repo to get started with DSA in CPP with questions asked in interviews and Online Assessments.
5-
1. Contribute to all interviews questions you came up with solutions.
6-
2. Write the questions and solutions in a single .cpp file
7-
3. Write the file name as the question asked avoid using fanncy name
8-
e.g `Watermelon ,two sum,Way Too Long Words`
5+
**Contribute** by adding interview questions and solutions you’ve encountered. Your contributions will help others kickstart their DSA journey!
96

10-
## Usage/Examples
7+
---
118

12-
```javascript
13-
//Question Details
14-
//Constraints
15-
//Input
16-
//Output
9+
## 📚 **Key Features**:
1710

18-
#include <> //whats actually required avoid #include <bits/stdc++.h>
11+
* **Beginner-Friendly**: A perfect starting point for anyone new to DSA.
12+
* **Interview-Oriented**: Includes common interview questions asked in tech companies.
13+
* **C++ Focused**: All solutions are implemented in **C++** for better understanding and practice.
14+
* **Structured & Clear**: Easy-to-follow code snippets and problem descriptions.
15+
16+
---
17+
18+
## 🎯 **Roadmap**:
19+
20+
* **Future Enhancements**: Plan to add more advanced problems, explanations, and optimizations to support all stages of learning DSA.
21+
* **Collaborative Growth**: Community contributions are encouraged to enhance this repo’s value and make it an even better resource for learners.
22+
23+
---
24+
25+
## 📌 **How to Contribute**:
26+
27+
1. **Add Questions & Solutions**: Whenever you come across an interview question or a challenge, add it here along with the solution.
28+
2. **File Format**: Write each question and its solution in a **single `.cpp` file**.
29+
3. **Naming Convention**: Name the file after the problem, **avoid using fancy names**.
30+
31+
* For example:
32+
33+
* Correct: `TwoSum.cpp`, `Watermelon.cpp`, `WayTooLongWords.cpp`
34+
* Incorrect: `Problem1.cpp`, `Solution.cpp`
35+
36+
---
37+
38+
## 🛠 **Usage & Example**:
39+
40+
To maintain consistency and readability, please follow this structure for each file:
41+
42+
```cpp
43+
// Question Details:
44+
// Problem Statement Description
45+
// Constraints
46+
// Input
47+
// Output
48+
49+
#include <iostream> // Only include necessary libraries. Avoid #include <bits/stdc++.h>
1950
using namespace std;
51+
2052
int main()
2153
{
22-
//code goes here
23-
return 0;
54+
// Your code here
55+
return 0;
2456
}
2557
```
2658

59+
---
2760

28-
## Authors
29-
30-
- [@AnkitMajee](https://www.github.com/AnkitMajee)
31-
61+
## 📖 **How to Get Started**:
3262

33-
## Installation
63+
### 1. **Fork and Clone the Repository**:
3464

35-
Fork and clone the repo or Drag and drop your code
65+
Fork this repo to your own GitHub account and clone it to your local machine.
3666

3767
```bash
3868
gh repo clone AnkitMajee/CPP
3969
```
4070

41-
## Awesome Contributors <img src="https://fonts.gstatic.com/s/e/notoemoji/latest/1f31f/512.webp" width="35" height="30">
42-
43-
<div align="center">
44-
<h3>Thank you for contributing to our repository</h3><br>
45-
<p align="center">
46-
<a href="https://github.com/AnkitMajee/DataStructureInCpp/graphs/contributors">
47-
<img src="https://contrib.rocks/image?repo=AnkitMajee/DataStructureInCpp" />
48-
</a>
49-
</p>
50-
</div>
71+
### 2. **Add Your Solution**:
72+
73+
* Write your code in the appropriate `.cpp` file.
74+
* Ensure the file follows the **naming convention** and **format** mentioned above.
75+
76+
### 3. **Submit a Pull Request (PR)**:
77+
78+
* After adding your solution, create a pull request so your contributions can be merged into the main repository.
79+
* Provide a clear PR description, including the problem statement and the solution approach.
80+
81+
---
82+
83+
## 🧑‍💻 **Contact**:
84+
85+
Feel free to reach out for any queries or if you want to collaborate on improving this repo. Let's grow the DSA community together!
86+
87+
* **Repo Maintainer**: [@AnkitMajee](https://www.github.com/AnkitMajee)
88+
89+
---
90+
91+
## 🌟 **Contributors**:
92+
93+
We’re grateful to all contributors for making this repo a valuable resource. **Thank you for helping others learn DSA!**
94+
95+
<div align="center">
96+
<h3>Awesome Contributors 🌟</h3><br>
97+
<p align="center">
98+
<a href="https://github.com/AnkitMajee/DataStructureInCpp/graphs/contributors">
99+
<img src="https://contrib.rocks/image?repo=AnkitMajee/DataStructureInCpp" />
100+
</a>
101+
</p>
102+
</div>
103+
104+
---
105+
106+
### 🔄 **Stay Updated**:
107+
108+
* Regular updates and additions are made, so please stay tuned for new problems and solutions.
109+
* Feel free to **star** the repository and check out the new issues/PRs for more contributions!
110+
111+
---

0 commit comments

Comments
 (0)