Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/muthu-cs/code-problems-solutions
- Owner: muthu-cs
- License: mit
- Created: 2016-11-08T03:43:00.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-08T04:34:09.000Z (about 8 years ago)
- Last Synced: 2024-08-17T12:01:22.467Z (3 months ago)
- Language: JavaScript
- Size: 429 KB
- Stars: 12
- Watchers: 2
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- Awesome-JavaScript-Interviews - code-problems-solutions
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/).