That was the easiest way for me to get a degree.
One of the most influential classes was studying probability theory out of Feller [William Feller, An Introduction to Probability Theory and Its Applications].