Pergunta de entrevista da empresa Dumadu Games

One pattern question, small and big number in array, swap with out using 3rd variable