C++ || 100% faster || easy to understand
\nclass Solution {\npublic:\n    int ans=0;\n    bool helper(const string &s, const string &word){\n    size_t idx=0;    \n    for(char c: word){\n        idx= 
```\nclass Solution {\npublic:\n    int ans=0;\n    bool helper(const string &s, const string &word){\n    size_t idx=0;    \n    for(char c: word){\n        idx= s.find_first_of(c,idx);\n        if(idx++ == string::npos) return false;\n    } return true;\n    }\n    int numMatchingSubseq(string s, vector<string>& words) {\n        for(string word: words)\n            if(helper(s, word)) ans++;\n        return ans;\n    }\n};\n```
['C', 'C++']