Homework of Coursera Algorithms Design and Analysis