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.
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 π±βπ€
- Fork this repository to your github account and then clone your forked repository to your machine.
- 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 thestacks
directory. - In the README file, add a Python logo along with an empty link.
- Updating the link for the solution will be done by the Project maintainers (aka. anishLearnsToCode)
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: