Skip to content

Latest commit

Β 

History

History
56 lines (42 loc) Β· 3.66 KB

CONTRIBUTING.md

File metadata and controls

56 lines (42 loc) Β· 3.66 KB

Contributing Guidelines

This project aims to create a common source for all Data Structure questions on HackerRank and values every single contribution made by the community.

We aim to solve all questions in the HackerRank Data Structures domain in as many languages as possible to show the different code styles and approaches that can be used to solve the same problem.

Contributing is very simple. Simply identify a question from the README file that has yet to be solved in a programming language of your choice.

Solve that question and make sure that all tests pass on HackerRank and then create a pull request with the added solution and updated readme.

Style Guide

We wish that other people and understand and learn from the cde that is given in this repository, hence code that is legible, properly indented with good function names and variable names, with clear flow that makes understanding the algorithm easy will be highly appreciated.

The submitted code must also pass all test cases of the given problem on HackerRank (obviously πŸ˜‰). Happy Coding πŸ±β€πŸ‘€

Pull Request Process

  1. Fork this repository to your github account and then clone your forked repository to your machine.
  2. Say you solve some problem called Rita & Stacks in the Stacks sub domain on HackerRank using your favorite programming language, say Python then simple add a new file called rita-and-stacks.py in the stacks directory.
  3. In the README file, add a Python logo along with an empty link.
  4. Updating the link for the solution will be done by the Project maintainers (aka. anishLearnsToCode)

Programming Language Logos

To add a logo in the README table simply add a link with an embedded picture as

[![Python](icon-link)](this link will be filled by the author if the pull request is accepted)

For the icon link refer to the table below to obtain the link for a specific programming language:

Programming Language Icon Icon Link
Java Java https://img.icons8.com/color/40/000000/java-coffee-cup-logo.png
Python Python https://img.icons8.com/color/35/000000/python.png
C C https://img.icons8.com/color/35/000000/c-programming.png
C++ C++ https://img.icons8.com/color/35/000000/c-plus-plus-logo.png
C# C# https://img.icons8.com/color/35/000000/c-sharp-logo.png
JavaScript JavaScript https://img.icons8.com/color/40/000000/javascript.png
TypeScript TypeScript https://img.icons8.com/color/40/000000/typescript.png
Ruby Ruby https://img.icons8.com/office/35/000000/ruby-programming-language.png
Scala Scala https://img.icons8.com/office/35/000000/ruby-programming-language.png
PGH PHP https://img.icons8.com/officel/40/000000/php-logo.png
Swift Swift https://img.icons8.com/fluent/40/000000/swift.png
Markdown Markdown https://img.icons8.com/office/35/000000/markdown.png