interview questions from Algorithms @ Coursera