Ad
  • Custom User Avatar

    We really need a ping system, I only just saw this now. I asked him but he doesn't wanna maybe?.

  • Custom User Avatar

    @Kacarott, can this one be awesomised aswel?

  • Custom User Avatar

    I have the same issue. How did U solve this?

  • Custom User Avatar

    My func modifies the board and this seems to persist across tests. That's pretty annoying

    It should be passing all the simple tests as it is but it's failing.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Where is the KYLAN post? Or any post describing the problem?

  • Default User Avatar

    added more helpful messages

  • Custom User Avatar
  • Custom User Avatar

    Never mind, I get it. You're turning the whole box to the right, while the question describes a magical box that changes gravity without turning it.

  • Custom User Avatar

    Sorry for the late reply, but if you're still confused, could you please explain how you got [1, 3, 4]?

  • Default User Avatar

    This case you asking about is in kata description. Look close at it please.
    It is [1, 3, 4] if you count number of blocks per row, if you count number of blocks per column you get [1, 2, 2, 3].

  • Custom User Avatar

    Thanks. Still don't get it.

  • Custom User Avatar

    I don't get it. More explantion needed

  • Default User Avatar

    In example gravity pulls from left to right, to get [1, 3, 4] you mentioned boxes have to actually go up. For me it looks like you misunderstood dimensions, this numbers are columns of blocks not rows.

  • Custom User Avatar

    I just want help understanding the problem without any code invloved. I've tried various ways to show the blocks here so I can demo my misunderstanding, but they don't format correctly :(.

    For flip('R', [3, 2, 1, 2]), shifting the blocks right (not in code, just in theory), I get [1, 3, 4], which is wrong. Any one explain where [1, 2, 2, 3] comes from?

  • Loading more items...