Some common data structures and algorithms that are widely used in programming!
- Fork your own copy of this repository
- Clone your repository to your local machine
git clone https://github.com/YOUR_USERNAME/DS-Algo.git
- Configure this repository as a remote for a fork
$ git remote -v
$ git remote add upstream https://github.com/AnkitMishra19007/DS-Algo.git
veirfy the new configuration
$ git remote -v
- Syncing your repository with this upstream repo
Fetch the branches and their respective commits from the upstream repository.
Commits to DS-Algo will be stored in the local branch upstream/DS-Algo.
$ git fetch upstream
Check out your fork's local default branch - in this case, we use main.
$ git checkout main
Merge the changes from the upstream default branch
$ git merge upstream/main