Ad
  • Custom User Avatar

    I think that this test is wrong (c++):

    {
    vector numbers { 1,2,3,4,5,6 };
    int expected = -1;
    Assert::That(find_even_index (numbers), Equals(expected));
    }
    I think the answer should be 3 because left side {1, 2, 3} is equal to {6}