Question d’entretien chez Meta

Substrings and subarray optimization problem