Use hashmap's O(1) look up time to check if an element in second array exists in the hash (i.e. first array), iterating through entire second array
Use hashmap's O(1) look up time to check if an element in second array exists in the hash (i.e. first array), iterating through entire second array

derekmpham/interview-prep,derekmpham/interview-prep