Fareportal interview question

return distinct values from 2 arrray