Giter VIP home page Giter VIP logo

hacker_rank's Introduction

HACKER_RANK ๐Ÿ˜ƒ

Welcome to HACKER_RANK ๐Ÿ“‹ This Repository was made to maintain various Programs with their suitable solutions in a single space. This Repository is maintained by theabhishek07 .This is a public Repository and all sorts of contributions to the code are welcomed.

You are always welcome to add more or improve any resource in this repository.

Steps to follow ๐Ÿ“œ

1. Fork it ๐Ÿด

You can get your own fork/copy of HACKER_RANK by using the Fork button

Fork Button

2. Clone it ๐Ÿ‘ฅ

You need to go to your Fork of the Repository and then clone (download) it to local machine using

$ git clone https://github.com/Your_Username/HACKER_RANK.git This makes a local copy of repository in your machine.

Once you have cloned the HACKER_RANK repository in Github, move to that folder first using change directory command on linux and Mac.

## This will change directory to a folder HACKER_RANK
$ cd HACKER_RANK

Move to this folder for all other commands.

Now, lets add a reference to the original HACKER_RANK repository using

$ git remote add upstream https://github.com/theabhishek07/HACKER_RANK.git This adds a new remote named upstream.

See the changes using

$ git remote -v

  origin https://github.com/Your_Username/HACKER_RANK.git (fetch).
  origin https://github.com/Your_Username/HACKER_RANK.git (push).
  upstream https://github.com/theabhishek07/HACKER_RANK.git (fetch).
  upstream  https://github.com/theabhishek07/HACKER_RANK.git (push).

3. Sync with the Remote ๐Ÿ”„

Always keep your local copy of repository updated with the original repository.

# Fetch all remote repositories and delete any deleted remote branches
$ git fetch --all --prune
# Switch to master branch
$ git checkout master
# Reset local master branch to match upstream repository's master branch
$ git reset --hard upstream/master
# Push changes to your forked HACKER_RANK repo
$ git push origin master

4. Create a new branch โ€ผ๏ธ

Whenever you are going to make a contribution. Please create a new branch using the command below and keep your master branch clean (i.e. synced with remote branch).

# It will create a new branch with name  <branchname> and switch to branch <branchname>
$ git checkout -b <branchname>

To switch to desired branch

# To switch from one folder to other
$ git checkout <branchname>

To add the changes to the branch. Use

# To add all files to branch
$ git add .

Type in a message relevant for the code reveiwer using

# This message get associated with all files you have changed
$ git commit -m "relevant message"

Now, Push your awesome work to your remote repository using

# To push your work to your remote repository
$ git push -u origin <branchname>

Finally, go to your repository in browser and click on compare and pull requests. Then add a title and description to your pull request that explains your precious effort.

LICENSE

License

CODE_OF_CONDUCT

CODE_OF_CONDUCT

hacker_rank's People

Contributors

animesh9 avatar theabhishek07 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

animesh9

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.