Ad
  • Custom User Avatar

    The test case is called "returns [] if the list has only one element", not "returns [] if and only if the list has only one element".

    You have to return an empty list if and only if the list/array has zero or one element(s).