The Big Bang Theory's Sheldon Cooper is as intelligent as anyone gets, has an eidetic memory, is socially inept and finds it difficult to relate to others on an emotional level. He is full of knowledge, facts and bothers over other people's stupidity. He also has a best friend, who's his roommate, and he cannot function without him. He's definitely someone you'd want on your spelling bee team or quiz team but maybe not on any social occasion.
Similarly, noted detective genius Sherlock Holmes is a prodigy and has difficulty bonding with others, although, unlike Sheldon, he deliberately attempts to alienate people who try and befriend him.
Like Leonard's for Sheldon, Sherlock has John Watson, his roommate/best friend, and his crime-solving partner. Sherlock also possesses a similar eidetic memory and thinks other people's emotional problems are the occurrence of their own stupidity and thinks a lot of his work colleagues and almost all other humans are "idiots". See the similarities? Sheldon and Sherlock are two characters set in different TV universes but share the same DNA.
You may think you know everything there is to know about Sheldon Cooper and Sherlock Holmes, but can you distinguish which genius said what?