/javascript-problem-solving

JavaScript Problem Solving is an open-source project. This project focused to JavaScript beginner level problem, task, solution.

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

JavaScript Problem Solving

There are many ways to solve a problem. This repository is a collection of different ways to solve a problem. The solutions are written in JavaScript. The solutions are not necessarily the best solutions, but they are solutions.

How to use this repository

Each problem is in its own folder. Each folder contains a README.md file that describes the problem. The README.md file also contains a link to the solution. The solution is in the solution.js file.

Level Indicators

The level indicators are used to indicate the difficulty of the problem. The indicators are:

  • L-B - Level Beginner
  • L-I - Level Intermediate
  • L-A - Level Advanced

How to contribute

If you have a solution to a problem, please submit a pull request. If you have a problem that you would like to see solved, please submit an issue. We will be glad if you add your problem and solution to this repository. Get started by forking this repository.

  1. Fork this repository
  2. Clone your forked repository
  3. Create a new branch
  4. Add your problem and solution
  5. Commit and push your changes
  6. Create a pull request

How to add a problem

  1. Create a new folder with the problem name. ex: 0001 FizzBuzz ( L-B )
  2. Create a README.md file in the folder.
  3. Add the problem description in the README.md file.
  4. Add the problem added by section in the README.md file.
  5. Add the Reference link in the README.md file.
  6. Create a solution file named YourProblemName.js in the folder. ex: FizzBuzz.js

Follow this file for reference.

How to run the solutions

Each solution is written in JavaScript. You can run the solutions in your browser's console or in Node.js or any IDE like VSCODE.

Problems Collection

You will find all the common/beginner level problems in this repository.