Sentence 1: She didn't think to harm me.
Sentence 2: I thought for three hours about the problem and still couldn't find the solution.
Does think mean the same thing in these two sentences?
the same meaning