Ad
  • Default User Avatar

    Haskell? The timing out isn't an issue, either your algorithm is too slow or Codewars is too busy. You can do the tests in less than 3000 ms in Haskell.
    As for the tuple you can see in "Your solution" that the type for Haskell is: listSquared :: Int -> Int -> [(Int, Int)]. The description is a general one for all languages... Problems to return an array of tuples instead of an array of arrays?
    Please tell me if you succeed or if you still time out.

  • Default User Avatar

    Major issue - impossible to complete, due to submission timing out. Also, function returns a list of tuples, not a list of lists as it states in the description.