Pergunta de entrevista da empresa Google

Mostly around heaps, backtracking and dynamic programming.