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.
I mean it's only a 6 kyu task and it has a regex tag, so it was kind of implied, that it should probably be solved with a simple regex.
Would have saved myself alot of time with this approach vs. writing a million if statements.
@sitetester
: I already gave you an answer. Ask yourself, why are you returning a negative number? (what makes it happen and how can you avoid it?)There's 276 scala completions, so it's not an issue with kata itself.
Same issue
-1961650628 did not equal 2333316668 for scala
How could negative number be correct answer? :P Sounds like overflow issue, but I don't do scala, so idk.
Test Failed
-1961650628 did not equal 2333316668
Possibly needs more edge cases?
This does seem similiar to Fizz Buzz.