You are viewing a single comment's thread. Return to all comments →
def matchingStrings(strings, queries):
s = [] for i in queries: c = 0 for j in strings: if i == j: c += 1 s.append(c) return s
Seems like cookies are disabled on this browser, please enable them to open this website
Sparse Arrays
You are viewing a single comment's thread. Return to all comments →
def matchingStrings(strings, queries):