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.
lol
:D
:D
You might want to add a test which causes an integer to overflow. Like:
assertEquals( 4110417920L, CountIPAddresses.ipsBetween( "10.0.0.0", "255.0.0.0" ) );
Don't forget the 'L' at the end in Java :D
Yeah, was about to mention that. I found out that my solution has an overflow after successfully submitting.
if (< condition >) throw new IllegalArgumentException("Optional message");
😂
This comment is hidden because it contains spoiler information about the solution
😍