Sollicitatievraag bij Pendo

Even Subarray. Question on hackerrank Medium Difficulty