Ad
  • Custom User Avatar

    Number of pairs will be half the total length of characters as two characters form one pair,
    so in if total number of characters are odd then last pair will be pair[s.length()/2]

  • Custom User Avatar

    wtf indeed, if I had to guess it has to do with how assertions are made in the tester function used by tests, which seems to be in Preloaded section of kata, although the author will probably enlighten us