Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/blakeembrey/code-problems

Common code and interview problems solved in multiple languages
https://github.com/blakeembrey/code-problems

Last synced: about 2 months ago
JSON representation

Common code and interview problems solved in multiple languages

Awesome Lists containing this project

README

        

# Code Problems

> Looking for a new job? Take Triplebyte's [quiz](https://triplebyte.com/a/QW7kzKo/d) and have top tech companies pitch you!

This is an incomplete repo full of code problems used prior to or during an interview. I hope these problems will be useful for you to practice and review. If you have practiced on or designed an interesting problem, we'd love to see it! Open a PR or issue with your suggestions or optimizations.

## Problems

View [all problems](./problems), or start here:

**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 attribution, or from coding interview websites such as [Codility](https://codility.com/).