Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/amazingandyyy/algor-in-js

Various Basic Data Structures and Algorithms Implement in Javascript
https://github.com/amazingandyyy/algor-in-js

computer-science data-structures javascript nodejs tutorials

Last synced: 2 months ago
JSON representation

Various Basic Data Structures and Algorithms Implement in Javascript

Awesome Lists containing this project

README

        

# Algorithms in Javascript

Write basic data structure and algorithms in javascript, my favorite language without a doubt.

## Why JS

When it comes to the data structure, people first think about python or Java which I personally don’t think they are the choice. Javascript itself is a more beautiful, flexible and friendly language in the following reason:

- Runs everywhere, thanks to node
- Curly braces are the best, to have clear code blocks and scope
- Event-driven makes projects written in JS more accessible and fun
- Weak type makes more intuitive (well... I still love golang)
- A better OOP class (over than python's underscores)
- The best testing cycle

## Topics

- 01 [Linked List](https://github.com/amazingandyyy/algorithms-in-js/blob/master/01-linked-list.js)
- 02 [Recursion](https://github.com/amazingandyyy/algorithms-in-js/blob/master/02-recursion.js)
- 03 [Binary Search Tree](https://github.com/amazingandyyy/algorithms-in-js/blob/master/03-binary-search-tree.js)
- 04 [Hash Table](https://github.com/amazingandyyy/algorithms-in-js/blob/master/04-hash-table.js)
- 05 [Fizz Buzz](https://github.com/amazingandyyy/algorithms-in-js/blob/master/05-fizz-buzz.js)
- 06 [Harmless Ransom Note](https://github.com/amazingandyyy/algorithms-in-js/blob/master/06-harmless-ransom-note.js)
- 07 [Palindrome](https://github.com/amazingandyyy/algorithms-in-js/blob/master/07-palindrome.js)
- 08 [Caesar Cipher](https://github.com/amazingandyyy/algorithms-in-js/blob/master/08-caesar-cipher.js)
- 09 [Reverse Words](https://github.com/amazingandyyy/algorithms-in-js/blob/master/09-reverse-words.js)
- 10 [Reverse Array In Place](https://github.com/amazingandyyy/algorithms-in-js/blob/master/10-reverse-array-in-place.js)
- 11 [Mean Median Mode](https://github.com/amazingandyyy/algorithms-in-js/blob/master/11-mean-median-mode.js)
- 12 [Two Sum](https://github.com/amazingandyyy/algorithms-in-js/blob/master/12-two-sum.js)
- 13 [Binary Search](https://github.com/amazingandyyy/algorithms-in-js/blob/master/13-binary-search.js)
- 14 [Fibonacci](https://github.com/amazingandyyy/algorithms-in-js/blob/master/14-fibonacci.js)
- 15 [Memoized Fibonacci](https://github.com/amazingandyyy/algorithms-in-js/blob/master/15-memoized-fibonacci.js)
- 16 [Sieve Of Eratosthenes](https://github.com/amazingandyyy/algorithms-in-js/blob/master/16-sieve-of-eratosthenes.js)
- 17 [Bubble Sort](https://github.com/amazingandyyy/algorithms-in-js/blob/master/17-bubble-sort.js)
- 18 [Merge Sort](https://github.com/amazingandyyy/algorithms-in-js/blob/master/18-merge-sort.js)
- 19 [Max Stock Profit](https://github.com/amazingandyyy/algorithms-in-js/blob/master/19-max-stock-profit.js)

## Resources

- [x] **Learning Algorithms in Javascript from Scratch** by Eric Traub on [udemy](https://www.udemy.com/learning-algorithms-in-javascript-from-scratch)
- [x] **Learning Data Structures in Javascript from Scratch** by Eric Traub on [udemy](https://www.udemy.com/learning-data-structures-in-javascript-from-scratch/)
- [ ] **The Coding Interview Bootcamp: Algorithms + Data Structures** by Stephen Grider on [udemy](https://www.udemy.com/coding-interview-bootcamp-algorithms-and-data-structure/learn/v4/)
- [ ] **Welcome to Data Structure and Algorithms Analysis - Job Interview** by Hussein Al Rubaye on [udemy](https://www.udemy.com/data-structure-and-algorithms-analysis/learn/v4/overview)
- [ ] **C Language + Algorithms + Data Structures = Power** by Nidhal Abidi on [udemy](https://www.udemy.com/clang-algo-ds/learn/v4/overview)
- [ ] **Easy to Advanced Data Structures** by William Fiset on [udemy](https://www.udemy.com/introduction-to-data-structures/learn/v4/overview)
- [x] **10 Common Data Structures Explained with Videos + Exercises** by Beau Carnes on [medium](https://medium.freecodecamp.org/10-common-data-structures-explained-with-videos-exercises-aaff6c06fb2b)

## Author

Andy Chen ([amazingandyyy](https://github.com/amazingandyyy))

## LICENSE

[MIT](https://github.com/amazingandyyy/algorithms-in-js/blob/master/LICENSE)