Some Different method struck me Today, Similar to Binary search and Will have less time complexity.
#include using namespace std; int maxi(in