Pergunta de entrevista da empresa Google

Many variations to a simple coding problem to see if you can adapt your algorithm to different situations.