Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/muthu-cs/code-problems-solutions

Interview coding questions and answers in Javascript - ES6
https://github.com/muthu-cs/code-problems-solutions

Last synced: 3 days ago
JSON representation

Interview coding questions and answers in Javascript - ES6

Awesome Lists containing this project

README

        

# Code Problems

This is my repo full of code problems that I have completed prior to or during an interview, as well as general problem snippets. I hope that all these problems (and solutions) are useful to others for practice and review. Feel free to contribute any solutions and optimisations, and add your own problems that you find as well, as I would love to see them.

## Problems

### Sorting Algorithms

* [Quick Sort](https://github.com/blakeembrey/code-problems/tree/master/problems/quick-sort)
* [Bubble Sort](https://github.com/blakeembrey/code-problems/tree/master/problems/bubble-sort)
* [Merge Sort](https://github.com/blakeembrey/code-problems/tree/master/problems/merge-sort)
* [Selection Sort](https://github.com/blakeembrey/code-problems/tree/master/problems/selection-sort)
* [Insertion Sort](https://github.com/blakeembrey/code-problems/tree/master/problems/insertion-sort)

### Data Structures

* [Stack](https://github.com/blakeembrey/code-problems/tree/master/problems/stack)
* [Queue](https://github.com/blakeembrey/code-problems/tree/master/problems/queue)
* [Linked List](https://github.com/blakeembrey/code-problems/tree/master/problems/linked-list)
* [Binary Search Tree Check](https://github.com/blakeembrey/code-problems/tree/master/problems/binary-search-tree-check) *Not an implementation, checks for a valid implementation*

### DOM Problems

* [Get Elements By Class Name](https://github.com/blakeembrey/code-problems/tree/master/problems/get-elements-by-class-name)

### Shortest Code Problems

* [Shortest Fizz Buzz](https://github.com/blakeembrey/code-problems/tree/master/problems/shortest-fizz-buzz)

## Tests

```sh
npm install # Installs `mocha` and any other dependencies needed to run
npm test # Runs the testing scripts
```

## Contributing

If you have a problem or solution that's not currently not included, please open an issue or pull request! If you're including new content, please make sure you have permission to publish the content you are adding. Under no circumstance should you copy problems online without a visible license or attributions, or from coding interview websites such as [Codility](https://codility.com/).