rest tp
Converting array to Set ... set intersection , union and difference