Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
The problem with a random number generator is that it's possible for it to generate the same number twice in a row, which would cause you to drop the second packet.
The random number also won't help you if the packets ever get out of order - guaranteed never to happen in this Kata, yes, but probably not in any networks you might be designing for in the future.
This comment is hidden because it contains spoiler information about the solution