Answer
The work done by the person's force is the same in both cases.
Work Step by Step
The work done on the block by the person's force is equal to the increase in potential energy. In both cases, the increase in potential energy is $mgh$. Therefore, the work done by the person's force is the same in both cases.