2. She didn't have to leave early. 3. She needed not to leave early. 4. She had not to leave early. --------------------------- Are they all the same and grammatical? Do you use #4 often?
#3 means that it was necessary to stay -- not leave. #4 would get raised eyebrows and a "huh?"
You can ask a new question or answer this question.