Ad
  • Custom User Avatar

    That doesn't matter. Just passing the test matters.

  • Custom User Avatar

    Your solution has a bug, it fails following test case: [TestCase(new [] {2, 1, 2}, ExpectedResult = 1)].

    While you are right that not presenting inputs is not a good thing, you can still Console.WriteLine them yourself. You owuld see that your solution fails for arrays where the unique number is on the second position.

    Bugs in your solution are not a kata issue.