Pergunta de entrevista da empresa Neural IT

Writing Test Question 1. Swap 2 numbers without using 3 no 2. Find same no within 2 arrays $array_1 = [5, 10, 15,......]; $array_2 = [9, 20, 5,......]; 3. Find a factorial of any number