Pinduoduo Interview Question

Previous projects. Dynamic programming algorithm questions.