I will start a CS degree which has math classes such as Calc I, Calc II, Linear Algebra and Discrete Mathematics. I plan to then study AI which from my understanding requires lots of math. The problem is that my math from high school is pretty bad, I have many holes in my knowledge and so I don't feel ready for the math classes. I searched a bit and I found the Art of Problem Solving books, which are "designed for strong math students in grades 3-12." It's a big investment for me but I'am willing to do it if it's worth the money. They have books from the very basics up to Calculus which is a class that I will take. I know there's also online resources like Khan Academy but i would prefer to use those sporadically and rely more on books to get used to things more formally.
What do you guys suggest I invest my time and money in to do well in the math classes and then be ready to comfortably tackle the math in AI? Right now I'am thinking of buying the AoPS books (helps with Calculus pre-requisites and Calculus itself), watch MIT vids for Calculus and Linear Algebra and Khan Academy along the way when it's useful. Eventually i would like to get a formal book like Calculus from Spivak, when is it a good time for that?