EAB interview question

Leetcode easy question involving arrays