Arithmetic mathematics
Personally, I don't think calculus has anything to do with algorithms. Those algorithm gods who are at my level have skipped classes in high school. Algorithms, as far as I know, mainly use discrete mathematics, combinatorial mathematics and so on, and maybe others, which should be simpler than calculus. Of course, it doesn't matter if I haven't studied it, because I haven't studied this kind of mathematics before I taught myself the algorithm. This kind of math just makes it easier for you to learn the algorithm. Of course, it will hurt to death if you don't learn the algorithm directly.