Here you can find the source of fillArray(int[] nums)
public static void fillArray(int[] nums)
//package com.java2s; //License from project: Open Source License public class Main { public static void fillArray(int[] nums) { int start = nums.length; for (int i = 0; i < nums.length; i++) { nums[i] = start--;/*ww w.ja v a 2s .co m*/ } } }