deno.land / x / masx200_leetcode_test@10.6.5 / counting-words-with-a-given-prefix / index.ts

نووسراو ببینە
1
2
3
4
export default function prefixCount(words: string[], pref: string): number { return words.reduce((a, v) => a + Number(v.startsWith(pref)), 0);}
masx200_leetcode_test

Version Info

Tagged at
a year ago