Welcome to Algo Stars, a GitHub organization dedicated to showcasing the prowess of Data Structures and Algorithms (DSA) and programming skills of our community members. This repository structure is designed to provide a structured and engaging way for contributors to improve their coding skills.
To get started with Algo Stars, make sure you have a GitHub account. If you don't have one, you can create one here.
We have separate repositories for different programming languages, each containing three subdirectories: basic, intermediate, and advanced. Within each of these subdirectories, you'll find weekly problem statements in the form of .txt files.
Example:
- Repository:
Algo-Stars/Python- Subdirectories:
basic/intermediate/advanced/
- Problem Statement:
basic/week1/problem_statement.txt
- Subdirectories:
Apart from language-specific repositories, there's a project repository containing challenges and projects that span multiple programming languages.
Contributing to Algo Stars is straightforward. Follow the steps below:
- Navigate to the repository you want to contribute to (e.g.,
Algo-Stars/Python). - Click on the "Fork" button in the top right corner of the page.
- This creates a copy of the repository in your GitHub account.
-
On your forked repository, click on the "Code" button, and copy the URL.
-
Open your terminal and run the following command, replacing
<your-username>with your GitHub username:git clone https://github.com/<your-username>/Python.git
- Navigate to the problem statement directory (e.g.,
basic/week1/). - Solve the problem using the online program editor linked in the README.
- Save your solution in a file named
<your-username>.<programming-language-extension>.
-
In the terminal, navigate to your cloned repository:
cd Python -
Add your changes and commit:
git add . git commit -m "Solved basic week 1 problem"
-
Push the changes to your GitHub repository:
git push origin main
- Visit your forked repository on GitHub.
- Click on the "Pull Requests" tab.
- Click the "New Pull Request" button.
- Set the base repository to
Algo-Stars/Pythonand the base branch tomain. - Set the head repository to
<your-username>/Pythonand the compare branch tomain. - Click the "Create Pull Request" button.
- Add a title and description, then click "Create Pull Request" again.
Congratulations! You've just contributed to Algo Stars!!!
For a more detailed understanding of Git and GitHub operations, you may find the following video tutorials helpful:
-
Git & GitHub Crash Course For Beginners by Apna College
-
Git & GitHub Crash Course For Beginners by Kunal Kushwaha
-
Git & GitHub Crash Course For Beginners by Traversy Media
Please adhere to our Code of Conduct to ensure a positive and inclusive environment for everyone.
Happy coding! 🚀