private void swap(int arr[],int low,int high){
        int temp = arr[low];
        arr[low] = arr[high];
        arr[high] = temp;
    }
Sort the array first.
Then swap every adjacent element to get final result
@param arr
src/com/interview/array/ConvertAnArrayIntoDecreaseIncreaseFashion.java