Ad
  • Default User Avatar

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

  • Default User Avatar

    Isn't the first assert wrong?

    Test.assertEquals(replaceNth("Vader said: No, I am your father!", 2, 'a', 'o'), "Vader soid: No, I am your fother!");

    It says to replace every 'a' beginning with the second with 'o'.
    Also the 'a' from 'I am' should be 'I om'

    Also last test from basic tests.

    Thanks