Advice on enemy respawn approach

This is what I assumed. Actually I would have to clear the room(beginoverlap) then spawn the enemies(endoverlap). To avoid duplicating enemies because of backtracking. Just wondering if this is the most efficient way. I’ll test it out. Thanks