https://leetcode.com/problems/number-of-strings-that-appear-as-substrings-in-word



Runtime: 112 ms, faster than 28.57% of TypeScript online submissions for Number of Strings That Appear as Substrings in Word.

Memory Usage: 44.7 MB, less than 42.86% of TypeScript online submissions for Number of Strings That Appear as Substrings in Word.



```typescript
function numOfStrings(patterns: string[], word: string): number {
    //8:49
    let count = 0
    for (const patter of patterns) {
        if (word.includes(patter)) {
            count += 1
        }
    }
    return count
    //8:50
};
```
