What does battle of wits mean?

battle of wits meaning in General Dictionary

a contest in which cleverness rather than assault is used