Domanda di colloquio di Google

One is about binary search, the other one contains dynamic programming/search methods.