This is Ruochen Xie's programming assignment of Algorithms online class offered by Stanford University. It's NOT PERFECT and has not benn finished.
IMPORTANT:
- In week #1, the Kosaraju.js can only deal with smaller input graph and need improvements.
- In week #4, the hashTable.js can only deal with smaller input array and need improvements.
Courses can be found in Coursera which is part II of specializations of algorithms.
My programming assignment of Part I of the specialization is here.
My credentials: https://www.coursera.org/account/accomplishments/certificate/Q8KEBDEUEV4K
- Week 5:
- 10: Graph Search and Connectivity
- Week 6:
- 11: Dijkstra's Shortest-Path Algorithm
- Week 7:
- 12: Heaps
- 13: balanced binary search trees
- Week 8:
- 14: Hashing: the Basics
- 15: Universal Hashing
- 16: Bloom Filters
- Read the data from txt file using fs;
- Format data;
- Use specific algorithms to finish problems:
- SCC: Kosaraju's Two-Pass Algorithm(* still have some speed problem *)
- Shortest-path: Dijkstra's Algorithm
- Median Maintenance: Heap Application
- 2-SUM problem: Hashing Application(* still have some speed problem *)
- install node.js
- cd to the specific directory, read the README.md file
- using
node [filename]
to run the js file