Leetcode Medium Level Array Initialization Syntax In Java