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.
Input type should be
Tuple<int, int>
Actual and expected are swapped in
test
methodAlso, missing useful assertion messages
Missing
return 0
in initial solution setupThe current random test generation is too small. Please follow other languages' random tests generation, as such: .
Interesting!, this won't scale well though, try testing with this
it('5e6 - (+10)', ()=> verify(5e6 - (+10), 86028157))
regex reigns supreme π
Well done! Very useful functions on
string
The valueIsNarcissique array is the superset of narcissistic numbers?
Why work hard when you can just look into the dictionary? π
Caution; string.toLowerCase().split('this').length returns amount of delimiter + 1. Be sure to deduct the one when trying to count number of delimiters.
I like this, clean without any obvious performance issues.
clean solution.ππΎ
Not bad at all! I thought of this too.
Sweet!
CoolππΎ
This is my attempt at translating "Reduce My Fraction" to C#, please feel free to review it. Thanks
Trolling?
Regex to the rescue. Most times brings you clean, simple and readable solutions like this to table. Well done!
Multi-nested if blocks not advisable.
Loading more items...