Pregunta de entrevista de AppNexus

Some brain teaser about variable time optimization