Question d’entretien chez xAI

Dynamic programming-based sum of integers in an array.