I've had multiple scenarios, where i had to find a huge array's items in another huge array. I usually solved it like this:
for i in range(0,len(arr1)):
for k in range(0,len(arr1)):
print(arr1[i],arr2[k])
Which works fine, but its kinda slow. Can someone help me, how to make the iteration faster?
for index in range(len(array)):, usefor element in array:arr2?