"To whom did you offer a good job" Strictly, there is no objective "who". It's "whom". But this is changing.
"Who did you offer a good job to" is more common.
(By the way "offered to you" is implied, but not needed, in the first sentence.)
The second is correct grammatically. It's also possible semantically if someone was supposed to open the door, and you want to know who that someone was.
- For Teachers