Ad
  • Default User Avatar

    It isn't written in instruction that test strings will not start with whitespace characters or that there will be always only one whitespace character between words. They're special cases which you didn't take into consideration.