Ad
  • Default User Avatar

    I tried to handle the "\n" part of the samples by replacing it with "\n". When I print it in VSCode, the correct result is shown, but there's an error here that the result should not be "\n" but "\n". But then it acts as the newline character and doesn't work. What can be done regarding this?

  • Custom User Avatar

    You have to remove all the elements from a which are present in b.
    So if a=[1,2,2] and b=[2]. Then we need to remove each 2 from a. So answer is [1] after removing all 2 from a.

  • Default User Avatar

    But if we're removing the duplicate values, and making everything in the test string lowercase, shouldn't it return true only if both are equal? I'm new to this so I have a long way to go.

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution