An open API service indexing awesome lists of open source software.

https://github.com/indiesquidge/javascript-challenges

A collection of JavaScript coding challenges
https://github.com/indiesquidge/javascript-challenges

challenges javascript javascript-challenges sinon tape

Last synced: about 2 months ago
JSON representation

A collection of JavaScript coding challenges

Awesome Lists containing this project

README

          

# JavaScript Challenges

A collection of JavaScript coding challenges.

## Getting Started

The only dependencies in this repo are for running the tests, which are written
in Tape and Sinon.

Install the dependencies

```
npm i
```

Then, in each challenge folder, you can run the following to see the tests for
that challenge.

```
node -test.js
```

## Solving Challenges

This repo is only a set of challenges, it does not include the answers to any of
the challenges.

If you implement a solution of your own, please **do not** post it publicly on
this repository. Opening an issue or a pull request with a solution spoils the
experience of the challenge for other developers who find this repository.

## Challenges

### Beginner

* [Babylonian square root method](/babylonian-method/)
* [Number frequency](/number-frequency/)

### Intermediate

* [Stack machine calculator](/stack-machine-calculator/)
* [Target sum exists](/target-sum-exists/)
* [Balanced Parentheses](/balanced-parens/)
* [Add eventing](/add-eventing/)

### Advanced

* [Object diffing](/object-diff/)
* [Recreate setInterval](/setinterval/)
* [Recreate Promise.all](/promise-dot-all/)

## Relevant Reading

* [10 Interview Questions Every JavaScript Developer Should Know][js interview questions article]

[js interview questions article]: https://medium.com/javascript-scene/10-interview-questions-every-javascript-developer-should-know-6fa6bdf5ad95