Question d’entretien chez Samsung Electronics

Question based on subinterval (Dynamic programming)