Somebody who is rather too clever; a smart aleck; sometimes used as an epithet.
A person who exhibits an extraordinary ability in one subject (often mathematics) whilst being intellectually disabled in many other domains.