Pergunta de entrevista da empresa Google

Code was done in Python on a Google Docs document. First weeder question was implementing binary search. Next question was about text processing and after the initial solution was given, additional constraints were added to encourage me to make a better solution.

Resposta da entrevista

Sigiloso

11 de abr. de 2014

Having multiple methods in mind is useful, and after listing a few I was encouraged to go down a path I came up with using Python's generators to exploit lazy programming and decrease memory usage.