Ad
  • Custom User Avatar

    Assuming instructions are stored in 2D array x and y point to a single instruction, v should be an integer and you are responsible to change the single instruction to v 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])

  • Custom User Avatar

    @Calculating Nut: The other is older, but there was also some criticism there:

    I don't think this should be a 4kyu, or even a 5. Maybe a 6.

    Maybe it varies on what you background is, but to me that looks like a programming 101 exercise that we'd usually give to students as part of their exams after their first month. It's not entirely straightforward and there are many ways to approach it (but codewars doesn't rate that), but it's not really as difficult as what I'd rate a 4.

    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.

  • Default User Avatar

    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.

  • Custom User Avatar

    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 (").