Search:

Type: Posts; User: Norm

Search: Search took 0.14 seconds.

  1. Re: Need an Idea: storing elements of two different arrays?

    I used paper and pencil a lot for arrays and linked lists. It's good to see all the details visually before trying to write any code.
  2. Re: Need an Idea: storing elements of two different arrays?

    To get an idea of how the indexes would go, take a piece of paper and draw the slots for the third array to receive the contents of the other two. Then beneath it, draw the slots for the two shorter...
  3. Re: Need an Idea: storing elements of two different arrays?

    If the data types are compatible, copy the two arrays into the third array.
    You could use one of the Arrays class's copy methods for one and a loop for the other.
Results 1 to 3 of 3