Pergunta de entrevista da empresa CodeNicely

sort the array in half, the first section of array will place on the second section of an array and second section of an array will be placed on first half of an array