News

to calculate the mid index of the array using the formula Math.ceil(arr.length / 2). Create a new array to store in it the modified array. using a for loop,loop through the array. then checks if the ...