I do not think so, I got the same strategy but just on the opposite side
2 twice meaning he must be in 3 or 4 because if he was in 1 he would have had to move to 2
3 twice this means he must be in 1 if he's not dead yet because to survive he'd have to move to 2 the first time you check 3, and then 1 the second time
so check 2 as that is the only place he can move to.
So effectively the same as yours just mirrored in symmetry of the numbers.
I do not think so, I got the same strategy but just on the opposite side
2 twice meaning he must be in 3 or 4 because if he was in 1 he would have had to move to 2
3 twice this means he must be in 1 if he's not dead yet because to survive he'd have to move to 2 the first time you check 3, and then 1 the second time
so check 2 as that is the only place he can move to.
So effectively the same as yours just mirrored in symmetry of the numbers.