c++/get_min_max_no_conditional/Solution.cpp
/*Function to find maximum of x and y*/
Function to find maximum of x and y
Function to find maximum of x and y
int max(int x, int y)
{
  return x - ((x - y) & ((x - y) >>
            (sizeof(int) * CHAR_BIT - 1)));
}
int max ( int x , int y ) { return x - ( ( x - y ) & ( ( x - y ) >> ( sizeof ( int ) * CHAR_BIT - 1 ) ) ) ; }
Function to find maximum of x and y
Function to find maximum of x and y