11-7-2016
. 1point3acres.com
Week 6 programming 1 in Algorithms: Design and Analysis, Part 1
- 2 sum. tried both hashing table and sort. running time are almost same for this case.
11-15-2016
. 1point3acres.com
Week 2 lecture in Algorithms: Design and Analysis, Part 2 . 1point3acres.com
- Union-Find, Lazy Union, Union by rank, Path compression and analysis
Finish Week 2 programming in Algorithms: Design and Analysis, Part 2
- download UnionFind.py from https://www.ics.uci.edu/~eppstein/PADS/.--
- implement single-link clustering, use greedy algo for small number of nodes, but a different approach for large number of nodes