get_max_profit (one transaction allowed)