Ad
  • Custom User Avatar

    NOTE 2: The 0x0 (empty matrix) is represented as en empty array inside an array [[]]. description clearly states what to do with such input (it probably was added after all those comments), so there's no issue with kata in this regard.

  • Default User Avatar

    @FArekkusu Could you emplain why? :/

  • Custom User Avatar

    Not an issue, everything works correctly.

  • Custom User Avatar

    Not a question.

  • Custom User Avatar

    I was stuck on this for a long time because instead of an exception I was getting a timeout... my code went into an infinite loop because the "empty" matrix has one row of zero elements, which is NOT a square.

  • Custom User Avatar

    The answer should be an array with an empty array on it for the empty matrix

  • Custom User Avatar

    See the last 2 (and many more) posts on this page. This kata has a very strange definition of how an empty matrix should be represented.

    IMHO the kata is broken.

  • Custom User Avatar

    I see a picture from one of my favorite games and meme/pun next to it - instant upvote! :D

    (Unless you are asking seriously?)