|
i wasn't exactly sure what you were asking for some of the questions, but for number 3, reguarding array size, i've run into this issue before, so what i did was, i first created an ArrayList<Integer> in order to first get all of the nums, and then once you have all the numbers in that ArrayList, you can just make a new int array whose size is the size of the arraylist (arraylistname.size()).
Hope that helps a bit.
|