Search:

Type: Posts; User: helloworld922

Search: Search took 0.07 seconds.

  1. Replies
    10
    Views
    4,670

    Re: Having trouble understanding Int Logs.

    Does it do what you want it to? I would read the instructions again to make sure you're program does what was asked for, in particular:
  2. Replies
    10
    Views
    4,670

    Re: Having trouble understanding Int Logs.

    Before you add a new number you know there are no duplicates in your log. If there were, you would have terminated your loop already.
  3. Replies
    10
    Views
    4,670

    Re: Having trouble understanding Int Logs.

    You just need to find the first duplicate. The only counter you should need is already a part of the ArrayIntLog class (the last index or size of the log). So generate a random number and see if the...
Results 1 to 3 of 3