With two isothermal and two adiabatic processes all reversible, the efficiency of the Carnot engine depends only on the temperatures of the hot and cold reservoirs.
Thus, the cycle includes two isothermal and two adiabatic processes for maximum efficiency.