Peking University Algorithm Design and Analysis Course 2009 Final Exam Questions