USEReady interview question

Collection method to filter same element from two different array.