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.
You missed the "non-negative integers" requirement.
This comment is hidden because it contains spoiler information about the solution
Hi! I have a question: Why does my function only work in the Codewars text editor if I write "string.Join" - string with a lowercase letter? However, in my Visual Studio, the function works when writing string with both uppercase and lowercase letters.
why does it need to be converted to integer? Shouldn't count() automatically return only integers?
The return comparator so genius, and yet SO SIMPLE. The only reason it feels like a cheat is because they challenged us to reinvent the wheel with test cases that are actually VALID ip addresses.
type "ping 192.168.1" into your command prompt and tell me how it interprets it!
and a bicycle that is unlikely to be anywhere near as tested and comprehensive in function as the existing library... I mean bicycle
Cheating and this is not right.
Damn clever!
I'm an Oracleish guy and you made my day (window functions on the same level as grouping function)
You could try running this code in an IDE and examining how the values as they change. I think that should reveal the logic nicely.
This comment is hidden because it contains spoiler information about the solution
bruh moment
True. Yet using built-in methods is better than 'reinventing' a bicycle.
Its ok to use existing libraries. But the whole point of these is to test your problem solving skills....
Neat! How did i not think of that... :)
Loading more items...