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