means
To think very hard in an attempt to remember something or find a solution.
To wrack one's brains.
I racked my brains trying to remember where I had seen that photograph.
expression
means
To think very hard in an attempt to remember something or find a solution.
To wrack one's brains.
I racked my brains trying to remember where I had seen that photograph.