Ad
  • Custom User Avatar

    If you're not returning anything, that's where the error comes from. (the tests receive None instead of expected list / array)

    To be clear, the error comes from calling sorted(None), and not from your code.

  • Custom User Avatar

    Are you returning None?