Pregunta de entrevista de Visa Inc.

Dynamic programming, greedy approach, bit manipulation