Publicis Sapient Interview Question

write a program for intersection of two databases