idiot savant vs know-it-all

idiot savant

noun
  • A person who exhibits an extraordinary ability in one subject (often mathematics) whilst being intellectually disabled in many other domains. 

know-it-all

noun
  • Someone who claims to be knowledgeable or an expert in something, obnoxiously dismissing the opinions, advice, suggestions, etc. of others. 

How often have the words idiot savant and know-it-all occurred in a corpus of books? (source: Google Ngram Viewer )