deno.land / x / masx200_leetcode_test@10.6.5 / string-matching-in-an-array / index.ts

نووسراو ببینە
1
2
3
4
5
6
7
function stringMatching(words: string[]): string[] { return words.filter((word) => words.find((par) => par.length > word.length && par.includes(word)) );}export default stringMatching;
masx200_leetcode_test

Version Info

Tagged at
a year ago