I answered
Slow down to their walking speed and keep the same distance
If I have more energy than usual, I will sometimes speed up and pass them, but only if the hallway is wide enough and not crowded. Otherwise, I like to keep a polite distance from someone I don't know so they don't feel rushed or pressured to get out of my way.