Question d’entretien chez GE

Codility OA - two very easy questions