Ad
  • Custom User Avatar

    Since you know that there will be exactly 1 unique string in the entire array, you can identify the common strings by looking at either 2 indexes (best case scenario) or 3 (worst case). All you need is two strings to match to confirm it.

  • Custom User Avatar

    The python test cases are incomplete. It is easy to pass this if you assume that the first element is never going to be the unique one. The test suite needs to have cases where every index at some point contains the unique string.

  • Custom User Avatar

    Should have more tests, you can pass this by hardcoding answers.

  • Custom User Avatar

    Very disappointed by the omission of the Oxford comma.