Ad
  • Default User Avatar

    It looks like you are just taking a 2D array and turning it into a 1D list that is sorted (which is not what the Kata is asking).

  • Custom User Avatar

    Given an n x n array, return the array elements arranged from outermost elements to the middle element, traveling clockwise.

    Isn't it the other way around? The input is a n x n array (or List for Python) and the output is a 1D list.