1
arshul
7y

The algorithm basically works like this:

For every element x in an array, start a new program that:

Sleeps for x seconds
Prints out x
The clock starts on all the elements at the same time.

It works for any array that has non-negative numbers.

Comments
Add Comment