Question d’entretien chez Tekion

Find contiguous subarray with given sum. Find three largest numbers in an array