Function to print the count of greater elements on left of each array element
static void display ( int countLeftGreater [ ] , int N ) { for ( int i = 0 ; i < N ; i ++ ) { System . out . print ( countLeftGreater [ i ] + " ▁ " ) ; } }