The homework from Coursera Algorithms