All the algorithms mentioned in book "The Analysis of Algorithms" are implemented in Python here. I wish I can finish it.