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.
- Host: GitHub
- URL: https://github.com/richiemccoll/algorithms-in-js
- Owner: richiemccoll
- Created: 2018-05-13T10:58:10.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T04:02:29.000Z (over 3 years ago)
- Last Synced: 2023-08-12T13:34:34.902Z (almost 3 years ago)
- Topics: algorithms, binary-search, bubble-sort, caesar-cipher, computer-science, fibonacci, harmless-ransom-notes, javascript, merge-sort, palindrome, sieve-of-eratosthenes
- Language: JavaScript
- Size: 548 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
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)