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.
This comment is hidden because it contains spoiler information about the solution
I think you may have misinterpreted what I'm saying here.
I'm suggesting that someone at an introductory level would likely struggle with the concept of manipulating prototypes, functions being passed to a functions and referencing
this
. Given that 8kyu is the first rung of the ladder, it can be overwhelming and demotivating to come accross a kata like this (that I think requires at least the next level of understanding) in the first/early stages of learning.As for 1kyu ... I don't think so. I've had 4kyu that have taken me half the day to get through. I don't think I would ever attempt or understand what is required at a 1kyu level!
This comment is hidden because it contains spoiler information about the solution
Thought the same thing.
0 + 0
was something I checked for before submitting, as I assumed it would have been tested given the need to eliminate leading zeros.Because
a
andb
are no longer strings. If you calla
orb
anytime after the split, you're referencing an array now, not the original string. Sounds like mutation to me.If you wanted to return a string indicating a written sum, like
"11 + 11 = 22"
, you can't because you no longer have any way of accessing the original input of11
and11
.You're printing your output instead of returning it.
TypeScript Translation for review / approval
Python Translation for review / approval
TypeScript Translation for review / approval
CoffeeScript Translation for review / approval
The author hasn't been active for quite a while. Reworded the description a bit on this one, not sure if that's OK?
TypeScript Translation ... for review / approval
TypeScript Translation ... for review / approval
TypeScript Translation ... For review / approval
Finally got there! Great kata!
Fun Kata, but I would have rated more towards a 5 Kyu ... not everyone attempting these is a black belt!
I know this kind of comment appears somewhere on almost every Kata and I'm sorry for continuing the trend, but given it's a recurring theme it would be nice to have some form of retrospective grading on the roadmap. I certainly don't profess to understand the inner workings of the Codewars beast and appreciate it is quite likely a massive undertaking to achieve this ... just throwing it out there.
A lot of the difficulty for me in this one was trying to understand exactly what the task was. Once, I finally figured that out, the actual Kata is actually pretty good, but I don't think it's super clear from the description or the provided test cases as to what the actual task is.
The encoded message contains the shift paramater
Loading more items...