Program to sort even - placed elements in increasing and odd - placed in decreasing order with constant space complexity
#include <bits/stdc++.h> NEW_LINE using namespace std ; void bitonicGenerator ( int arr [ ] , int n ) {