refresh Algorithms Design and Analysis,part 2