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.
Hell yeah! That's what I'm talking about
Nice! Showed me I had an extra check on length I...DONT NEED! Thanks for showing me the way :)
Cool solution! I worry about side effects coming from the sum%n==0 check happening every time in the loop for something like (1111,1)
Damn
Took me a second too see it. This way you don't have to run a contains on every letter. I like it
Awesome! Thanks :D
Great! I've learned something new. How does this compare to using parseInt? What I've typically done
This comment is hidden because it contains spoiler information about the solution
Got a randon test case of
Testing for [0, 'yes'] and [200, 'no']
It should work for random inputs too: 'Slytherin wins!' should equal 'Gryffindor wins!'
In this case Slytherin will have 200 and Griff will have 150. So the output should be 'Slytherin wins!'. Lest I'm missing some rule set or misinterpreting the info.
Not sure how this is working. Mind explaining?
This comment is hidden because it contains spoiler information about the solution
Love you you commented this. Great way to answer
This comment is hidden because it contains spoiler information about the solution
Ah! I did'nt know about the guidelines. Going through a lot more 6 these days it "feels" at home there given the more involved nature of the solution and somewhat more involved logic then most 7's I've done. That said, "feel" is a pretty open ended qualifier ;)
ditto! Bit of a problem with the randomized tests
Loading more items...