You are viewing a single comment's thread. Return to all comments →
#For Python def matchingStrings(strings, queries): result = [0] * len(queries) for i in range(len(queries)): query = queries[i] for j in range(len(strings)): if query == strings[j]: result[i] += 1 return result
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 →