Job interview questions from Sedgewick and Wayne's course on algorithms