This question already has an answer here:
I am still studying in college but it seems to me that I need to know more about math that concerns programming, what or which part of mathematics should I study for me to improve my programming skills? Algorithm designs? Algorithms? What branch of mathematics?