Pergunta de entrevista da empresa Micron Technology

some optimization problem