Expressions (phrases, clauses, etc.), Godan verb with 'ru' ending
to cock one's head in puzzlement; to tilt one's head in contemplation; to wrack one's brain; to think hard
私はその数学の難問に首をひねった。I puzzled over the difficult math problem.
Also written 首を捻る【くびをひねる】