Pergunta de entrevista da empresa Booking.com

One question on find the repeating element from.three arrays.