At Stanford, a young Marissa Mayer ended up tossing her pre-med flashcards and chose computer science instead because she wanted to study something that would make her "think critically and become a great problem-solver."
It’s a concept called computational thinking, popularized by Jeannette Wing of Carnegie Mellon in 2006. Wing argues computational thinking is just as important as reading, writing and arithmetic. Problem-solving skills, such as abstraction, pattern recognition and sorting can make your daily life more efficient. Bill Gates agrees, saying that “learning to write programs stretches your mind and helps you think better.”