Ted was known as a solid debater and one of his smartest student by one of his professors - Alan Derschowitz. Arguing with your professor at Harvard is usually not a good way to get good grades except Derschowitz appreciated it and respected him for it.
Dershowitz has said Ted Cruz was THE most brilliant law student he ever had.