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.
Seems it's alr the case for C# && Java
You almost had it in 1 "instruction". There's another way to get the min/max values.
You're forced to use shorter even with the modern, unless you accept IIII for 4. But the other said no 3 consecutive symbols.
In my opinion, the author should have made it receive ints or make tests with longs.
I'm not saying your solution is bad, it pretty much is like mine but I was forced to create a new Enumerable.Range function that accepted long.
ofc =)
but if this solution passes, doesn't this mean that kata test need to be harder?
Forked solution which ok with long =>
https://www.codewars.com/kumite/576d119db1abc40f0200014e?sel=576d13fe12686e81a500007a
I suggest adding test inputs that are in long range instead of just int.
You're converting to int and back to long, won't work on bigger values