Widen the Gap Between the Thirds of an Array

Company: Microsoft_Codility_CodeEvent_30sep

Difficulty: hard