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.
Easy to read and understand!
I feel so dumb. First time doing some c++ katas, how do I include the standard library?
This comment is hidden because it contains spoiler information about the solution
Aha! Yes I looked at indexOf for a moment, but I just read the description briefly and thought that there was only 4 valid smileys. This changes everything. ;)
This comment is hidden because it contains spoiler information about the solution
So I just started with JS and I can't figure out how to print debugging messages. I've tried both console.log("Someting"); and alert("something"); But they don't work.
Same problem here: text = iidqubkywkvbpgnhphzuvyjiysffqqxrddjr rule = 297 expected:<[????????????????????????????????????]> but was:<[????????????????????????????????????]>
I'm having som problems with this kata. When you mean round, what do you really mean?
If the input date is at lets say 23:55:45 Then the number of minutes should be 4 right? And if the time was 23:55:10 the number of minutes should be five? I have done this but still fails at one of the test cases.
Just wanted to say that this was a good kata! Pro tip: Read the description twice! :)
Using the old deprecated Date constructor is bad practice and the test cases need a revamp.
Yes, I have understood that. :)
Managed to solve it now!
This comment is hidden because it contains spoiler information about the solution
I fail on the 11th test: ' Sr2ynF' should equal ' Sr2\tynF'
So I added code to check for both "/" and "" and this time I passed the test, just to fail on this instead:
'L urns\B' should equal 'L urnsB'
I'm confused. Should "/" and "" be allowed or not?
Can't pass the advanced tests. The basic and exampels work fine though. Impossible to know what's wrong without the ability to find the error, and we can't paste the code in a IDE either as we don't have access to the dictionary. Skipping this one.
But what happends if the remainder is say 3? The list only has 2 elemennts on index 0 and 1. Shouldn't an error be thrown like index out of bounds or something?
Loading more items...