I need an idea with something really stupid
This might sound funny but I got a homework and I can`t make any sense of it.
The statement sounds like this:
"Find the 10 largest numbers in an array of 100.000 randomly generated integers. You will use threads to compare 2 numbers. A daemon thread will print at regular intervals the progress and the number of unchecked integers left."
I know it`s not appropriate to ask for help on the forum regarding a homework but I am really REALLY frustrated .... I just can`t figure out why, and how, should I use threads to deal with number comparison .....
Could you at least give me a starting idea on it ???
Sorry for wasting your time.