deno.land / x / masx200_leetcode_test@10.6.5 / string-matching-in-an-array / index.ts
1234567function stringMatching(words: string[]): string[] { return words.filter((word) => words.find((par) => par.length > word.length && par.includes(word)) );}export default stringMatching;
Version Info