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

https://github.com/richiemccoll/algorithms-in-js

A suite of common Computer Science algorithms implemented in JavaScript.
https://github.com/richiemccoll/algorithms-in-js

algorithms binary-search bubble-sort caesar-cipher computer-science fibonacci harmless-ransom-notes javascript merge-sort palindrome sieve-of-eratosthenes

Last synced: about 1 year ago
JSON representation

A suite of common Computer Science algorithms implemented in JavaScript.

Awesome Lists containing this project

README

          

# Computer Science algorithms implemented in JavaScript.

A collection of common algorithms you may come across in interview questions, online tools such as Hackerrank etc implemented in JavaScript.

I wanted to create this repo as I hope some people new to the field, especially those coming from a non CS background would find it somewhat useful.

If you would like to contribute an algorithm that I have missed. PR's welcome! Please follow the same structure as I have.

Table of contents

1. [Harmless Ransom note.](https://github.com/richiemccoll/algorithms-in-js/tree/master/harmless-ransom-note)
2. [Palindrome check.](https://github.com/richiemccoll/algorithms-in-js/tree/master/palindrome)
3. [Caesar Cipher.](https://github.com/richiemccoll/algorithms-in-js/tree/master/caesar-cipher)
4. [Reverse words.](https://github.com/richiemccoll/algorithms-in-js/tree/master/reverse-words)
5. [Reverse array in place.](https://github.com/richiemccoll/algorithms-in-js/tree/master/reverse-array-in-place)
6. [Mean Median Mode.](https://github.com/richiemccoll/algorithms-in-js/tree/master/mean-median-mode)
7. [Two Sum.](https://github.com/richiemccoll/algorithms-in-js/tree/master/two-sum)
8. [Binary Search.](https://github.com/richiemccoll/algorithms-in-js/tree/master/binary-search)
9. [Fibonacci.](https://github.com/richiemccoll/algorithms-in-js/tree/master/fibonacci)
10. [Memoized Fibonacci.](https://github.com/richiemccoll/algorithms-in-js/tree/master/memoized-fibonacci)
11. [Sieve of Eratosthenes.](https://github.com/richiemccoll/algorithms-in-js/tree/master/sieve-of-eratosthenes)
12. [Bubble Sort.](https://github.com/richiemccoll/algorithms-in-js/tree/master/bubble-sort)
13. [Merge Sort.](https://github.com/richiemccoll/algorithms-in-js/tree/master/merge-sort)
14. [Max Stock Profit.](https://github.com/richiemccoll/algorithms-in-js/tree/master/max-stock-profit)