Prerequisites for understanding algorithms?

5.1k Views Asked by At

What areas of math are prerequisite for learning algorithms?

2

There are 2 best solutions below

0
On BEST ANSWER

I guess it depends a lot about the kind of algorithm you want to use and how deeply you want to understand them.

  • The understand of the usual basic data structures needs almost no math background.

  • Most of the graphical algorithms requires knowledge of trigonometry and spatial geometry.

  • Algorithms about physics engine are easier to understand if you have some physics basis

  • If you want your program to help you to take decisions, you might need to study operational research which is a really huge sub-fields of math which includes graph theory, game theory, optimisation (which then includes analysis and linera albegra)

In any case, having a logic/mathematical mind obviously helps a lot for the understanding and to check/prove that your code can/cannot work.

0
On

If you're talking about simple programming you don't really need a lot of math. At this level, your problem solving and logic abilities are more important, but it's necessary that you get instructed in the basics of problem solving by using flow charts and process planing.

In the other side, math is known to improve your abilities and in some areas you would need to know math to achieve the expected results. For example, to create an animation engine knowing linear algebra is more than useful, so its physics.