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.
Assuming instructions are stored in 2D array
x
andy
point to a single instruction,v
should be an integer and you are responsible to change the single instruction tov
character counterpart. In java it would look like that:arr[y][x] = (char) v
.In case of "get" your task is to store on the stack
v
integer counterpart:stack.push( (int) arr[y][x])
@Calculating Nut: The other is older, but there was also some criticism there:
There's a discussion how to handle rank changes in katas after their approval and ranks in general. That being said, this is a duplicate of the other one.
Is there anyone checking consistency for difficulty rankings?
As far as I can tell, the two katas are identical, yet this one
is 6kyu and the other is 4kyu.
Also, both katas have Python and Javascript versions.
Seems like someone used the right-to-left mark. Just try to select the code from left to right. You'll notice that your selection behaves weird: there's an RLM right after the initial quote (
"
).What is this trickery?
Can some1 clarify how put and get are supposed to work? I tried looking up befunge documentations and everything but i don't understand how they are supposed to work:/
this is pure beauty!
this is exactly same as another kata: http://www.codewars.com/kata/valid-braces/javascript
apart from being translated to different languages...
This comment is hidden because it contains spoiler information about the solution
forgot that Jar.prototype.length there, I originally tried to use it for the pourOut method but soon realised that removing same amount from each would alter the concentrations and just forgot to remove it from the code:/
I think there is a problem with this kata. My code completes all the test cases but when i try to submit it passess all except the empty list, which my code returns an empty string for. The error just gives " Expected: , instead got: , " so i have no idea what to do. I tried to return null and empty arrays but none worked:/
edit. i got it to work, it had to do with the object name being empty instead of just empty array:)
Maybe give better info on the fail event it was really dumb trying to figure what's wrong when i felt it should have worked