Robinhood Interview Question

common elements in 2 lists