All the above. A lot of calculus is applying a theorem and then working the equation with algebra. It also helps to be familiar with trig, because the functions and properties are used and it is expected that you know them. Also, it doesn't hurt to know geometry, especially for the trig.