quebrar a cabeça

Verb

 * 1)  to rack one's brain struggle to think of something