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