Giter Site home page Giter Site logo

algorithms's Introduction

algorithms

Discovering Issues

step1: Find a problem that you would like to work on under the Issues Section. Each problem has a difficulty label and description of the input and the expected output.

Setup

step1: Clone the (llipio/algorithms) repository locally

step2: Pick an issue that you would like to work on

step3: Add your solution to the yourSolution.js file in the solutions folder.

step4: To test your function, import your solution to the corresponding issue and simply add .only() to the test and run npm run test. The test should rerun automatically thereafter.

Add new problems

step1: If you would like to add new problems, please add problems by creating an issue using the guidelines below. 1. Make sure the issue does not already exists. 2. Name the issue and add a difficulty label. 3. Describe the problem including an input and the expected output.

Contributing

step1: Make sure to fork the repo before start working on a problem and create a feature branch for each problem only.

step2: Create a file under the solutions folder using the issue number as the name. Ex: 1.js, 2.js, and so on. If a file already exists, only add your solution the top of the file if it's unique. Do not remove any previous solutions.

step3: Tag your name in the comment for your solution like below:

  // Bill Ma
  const solutionToProblem = () => {
    // solution implementation ...
  }

step4: Run npm run test to make sure your solution works.

step5: Create a pull request to master branch with your solution and assign a reviewer (note: if someone has already worked on the problem, pick that person as the reviewer, otherwise just randomly pick a person to review your solution)

step6: Once your solution has been reviewed and merged to master, the next person who works on the same problem will know to assign you as the reviewer for this problem.

algorithms's People

Contributors

billma avatar msach22 avatar songz avatar yjlim5 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.