I am currently pursuing a computer science degree & I am out of touch of most subjects in mathematics, even from secondary & high school. I wanted to know what subjects in mathematics would be absolutely necessary for computer science & it's prerequisite.
Do I have to do the entire algebra course (starting from Algebra basics) from Khan Academy?
I am really confused. I hope someone can help me out. Thanks
Since I'm a software engineer, I'll answer on the assumption you're more interested in practical applications than things like these (although that last one inspires some terminology relevant to my first bullet point below). At a minimum, you need to understand:
Depending on what you work in, you might also need to understand the mathematics in machine learning, numerical approximations, or 2D/3D graphics. A fair bit of calculus and linear algebra comes up from time to time (though which parts of it vary by subject), as can other things. For interview questions, however, that's what matters most. Category theory is also relevant to functional programming, but that's not for the faint of heart.
The CS theory Stack Exchange might give you more specific ideas than that, especially with lists such as this.