Pergunta de entrevista da empresa Samsung Electronics

Dynamic programming questions, math questions