richiemccoll / algorithms-in-js

A suite of common Computer Science algorithms implemented in JavaScript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.
  2. Palindrome check.
  3. Caesar Cipher.
  4. Reverse words.
  5. Reverse array in place.
  6. Mean Median Mode.
  7. Two Sum.
  8. Binary Search.
  9. Fibonacci.
  10. Memoized Fibonacci.
  11. Sieve of Eratosthenes.
  12. Bubble Sort.
  13. Merge Sort.
  14. Max Stock Profit.

About

A suite of common Computer Science algorithms implemented in JavaScript.


Languages

Language:JavaScript 100.0%