HackerRank in a String!

  • + 0 comments

    Try the sript below on python and thnak me later:)

    def hackerrankInString(s):
        return "YES" if re.search(r'h.*a.*c.*k.*e.*r.*r.*a.*n.*k.*', s) else "NO"