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.
There is also no need to assign the new value to the
name
variable with+=
. Return it without assignment,return name + ...
.Surely this should be:
This comment is hidden because it contains spoiler information about the solution
Test cases please.
What the hell do you mean the requirements are clear. One has to submit several times just to figure out the requirements based on trial and error.
Yes it does. I guess it should clear out the message after it is processed.
Looks like an off-by-one.
White code challenge completed: Count: 93. Honor Earned: 0.
Yellow code challenge completed: Count: 99. Honor Earned: 99.
Blue code challenge completed: Count: 32. Honor Earned: 128.
Purple code challenge completed: Count: 7. Honor Earned: 63.
It looks like I received zero points for 93 white katas completed (instead of 1 point),
1 point for each yellow kata completed (instead of 2 points),
4 points for each blue kata completed (instead of 5 points),
and 9 points for each purple kata completed (instead of 10 points).
My "honor" doesn't seem to add up. From my profile page, I scrolled allll the way down so all my completed katas are visible. Then in the console I run:
$('.list-item.kata .is-white-rank').length +
$('.list-item.kata .is-yellow-rank').length * 2 +
$('.list-item.kata .is-blue-rank').length * 5 +
$('.list-item.kata .is-purple-rank').length * 10
Which yields 752, plus I did a few beta katas.
My total honor in my profile is 701. Why's that?
Can you explain this output please:
ordinal(0, true) - Expected: th, instead got: h
brief is true, so the briefed output should be 0h, right?
.split("").reverse() could have removed some complexity.
Nice kata. This was fun I guess.
Hey, fyi:
this.charCodeAt(i)<<24 is mathematically equivalent to this.charCodeAt(i) * 0x1000000
but javascript provides -1 in one case, and the correct value in the other case.
That will remove your "if" and "screw this" comment.
I can't say I've ever encountered column-major indexing in the real world. Either a very interesting choice, or a sign of inexperience.
Cannot run tests. Description is very unclear.
http://en.wikipedia.org/wiki/Single_responsibility_principle
Loading more items...