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

    can u explain the logic?