Given an array arr[]. The array contains numbers from 0 to N-1 only, where N is the size of arr[]. The task is to modify… Read More
The post Rearrange given Array by replacing every element with the element located at mean of adjacent elements appeared first on GeeksforGeeks.