Program to sort even - placed elements in increasing and odd - placed in decreasing order with constant space complexity
import java . util . Arrays ; class GFG { static void bitonicGenerator ( int arr [ ] , int n ) {