Hi JavaPF,
Good morning.
Its okay. I know youre not around because the forum is quiet. :) But glad you're here again. :)
Cheers,
Truffy. :D
Type: Posts; User: Truffy
Hi JavaPF,
Good morning.
Its okay. I know youre not around because the forum is quiet. :) But glad you're here again. :)
Cheers,
Truffy. :D
Heres the answer.
public int[] makeLast(int[] nums){
int len = nums.length-1;
int[] integerArray = new int[(nums.length * 2 ) ];
integerArray[integerArray.length-1] =...
Given an int array, return a new array with double the length where its last element is the same as the original array, and all the other elements are 0. The original array will be length 1 or more....