Vocabulary

頭を捻る

to puzzle over; to think deeply about; to rack one's brains over (wrack)

expression verb