Exercises of Stanford's Algorithms: Design and Analysis class