What's the needed math for building algorithms? Because I was reading a book and I can't understand much. It says I need simple math from high school. I don't want to learn all the math that exist because I hate math, no that much though. What math is actually required?
closed as off-topic by Dan Pichelman, gnat, Doc Brown, user22815, Kilian Foth Jul 8 '17 at 6:47
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions seeking career or education advice are off topic here. They are only meaningful to the asker and do not generate lasting value for the broader community. Furthermore, in most cases, any answer is going to be a subjective opinion that may not take into account all the nuances of a (your) particular circumstance." – gnat, Doc Brown, Community, Kilian Foth
Kind of depends on what kind of algorithms you want to build. If you want to get into machine learning or genetic algorithms, you'll want more of a software architecture class / book first.
College Algebra is used frequently. Calculus...not so much, but might be used for some advanced algorithms.
But algorithm doesn't directly correlate with math. Algorithms are the methods you use to accomplish a task. Evolving a genetic algorithm from a worse parent state to a better child state uses some kind of algorithm.
You can also think of algorithms as a path. I want to go from point A in a city to point B. There are many different "algorithms" I can use to get there, but they may not even use math.
Sorting algorithms are a great place to start. You can learn how the sequence of steps to organize a list of data can be different. Some algorithms are definitely better than other.
I'd start with looking up questions / discussions of sorting algorithms to get started. I'd recommend having at least College Algebra, but I wouldn't think it's absolutely necessary.
If you want to pursue Computer Science, which is all about algorithms, that's what you learn in college. Classes like Fundamental of Logic, Introduction to Software Architecture, and all sorts of programming courses will teach you commonly used algorithms. That's where I'd start looking. There's some math involved, and depending on your college, you may need some advanced courses, but they're all worth it.