Question d’entretien chez BUYOGO

Find the sum of sub array.