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.
python new test framework is required. updated in this fork
Ruby 3.0 should be enabled.
Instruction unclear
255.255.255.225 from the test cases is not a valid net mask. Netmasks are all 1s followed by 0s. Valid netmasks have significant octets of 255, 254, 252, 248, 240, 224, 192, 128, or 0. 255.255.255.225 in binary is 11111111 11111111 11111111 11100001.
Absolutely loved this kata. Hadn't used bitwise operators before so nice to learn about that. Maybe something to add to the description would be "The host part can be derived by using bitwise AND of IP address and one's complement of the subnet mask." I'm not sure the description makes that clear. Approved!