Sam and substrings Discussions | Algorithms | HackerRank
  • + 1 comment

    It gives me 3 but in the problem statement,it is given that word should be followed by 1 or more non-word characters