Advertisement
Guest User

Grokking #206 1

a guest
Jan 19th, 2022
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.13 KB | None | 0 0
  1. numMatchingSubseq(String s, String[] words)
  2.   count = 0
  3.   for (word in words)
  4.     if (isSubsequence(word, s))
  5.       count += 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement