Replace int[] with List<Integer>