Search:

Type: Posts; User: Truffy

Search: Search took 0.10 seconds.

  1. Replies
    3
    Views
    6,345

    [SOLVED] Re: javabat example makeLast

    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
  2. Replies
    3
    Views
    6,345

    [SOLVED] Re: javabat example makeLast

    Heres the answer.



    public int[] makeLast(int[] nums){
    int len = nums.length-1;
    int[] integerArray = new int[(nums.length * 2 ) ];
    integerArray[integerArray.length-1] =...
  3. Replies
    3
    Views
    6,345

    [SOLVED] javabat example makeLast

    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....
Results 1 to 3 of 3