Ad
  • Custom User Avatar

    Please note that in the description, the "main" category that we have to filter by is not the string "MainCategory" but the most common category present in that particular test case. If my categories are ["Red", "Red", "Green", "Blue"] then the "main category" is "Red".

    To your last sentence: you can print the test inputs to see what's going on.

    Your issue with the order of the assertion arguments is correct.