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