Ad
  • Custom User Avatar

    Input range should be specified: there can be potential performance requirements, but it is not clear whether it exists based on what's given.

  • Default User Avatar

    I suggest including additional test cases, such as an empty array, an array containing negative numbers, and an array with floating-point numbers. Alternatively, you could explicitly mention in the description that these types of inputs are not permitted.

  • Default User Avatar
    Input: 2,8,4: expected true to equal false