Ad
  • Default User Avatar

    thanks for your feedback, I can see you have a keen eye for katas! I have seen you use the same response elsewhere so feel free to be more verbose so I can improve this kata to be more to your liking!
    Cheers :+1:

  • Default User Avatar

    no need to be mean about the random tests :P
    I have written some (hopefully) more robust random tests if youd like to take a peek

  • Default User Avatar

    getting the joke isnt trivial :milk_carton:

    EDIT:
    A programmer goes out to get some dry cleaning. His wife told him, "While you're out, pick up some milk"

    He never came home...

  • Default User Avatar

    Starting from left to right and then top to bottom we can grab the first corner! We then return on the inside of this corner to get the next one, and so on.

    you are going down, right, up, right etc. so [1, 4, 5, 2, 3, 6, 9, 8, 7] is not a valid solution given the instructions :wink:

  • Default User Avatar

    kk I fixed the test :wink:

    We now check for [] if n=0

  • Default User Avatar

    You are right, I do mention that the array can be of size n=0 though, if you like I can remove the reference of 'square' but I think it is descriptive.