Question d’entretien chez ACKO General Insurance

Find subarray with given sum and trees