…..and fits the frame correctly……and the floor is crooked……You can trim the door so it swings freely without hitting the floor or carpet…..A hollow core door has scribe blocks to allow for some trimming…….
If you do need to relocate the hinges:
…Fill the “wrong” holes with wood glue and TOOTHPICKS or another sliver of wood….Then relocate the hinge screws……
…and You can even fill an incorrect hinge mortise with glue/thin stock and recut the hinge mortise with a router….