In dealing with motion of projectile in air, we ignore effect of air resistance on motion. This gives trajectory as a parabola as you have studied. What would the trajectory look like if air resistance is included? Sketch such a trajectory and explain why you have drawn it that way.
The horizontal and vertical components of the velocity decrease due to air resistance. So, as a result, the max height also becomes lesser than in the ideal case.
Now, and max height
So,
But, in the second case when , due to smaller time taken to rise, the overall time of flight for both cases stands equal