Skip to content

trsudarshan/algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

My practice dump of https://www.coursera.org/learn/algorithms-part1

Running times:


| ALGORITHM | WORST-CASE | COMMENTS |

| quick-find | M x N | M = # of union-find operations, N = # of elements |
| quick-union (QU) | M x N | |
| weighted QU (WQU) | N + M x logN | |
| path-compressed(PC) QU | N + M x logN | |
| PC-WQU | N + M x logN | log = # of times logN needs to be taken to reach the value 1 |
| Improved-PCWQU | N + M x f(M,N) | f is the Ackermann function | |

About

Code towards Algorithms-I course on Coursera (from Princeton University)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages