0
Is writing algorithm a important thing to become a programmer?
i am weak in writing algo
4 Answers
+ 2
yes. for example, if you want to make pac-man, you would need an algorithm for ghosts' behaviour, since one of the ghosts actually chases the player, and you need an algorithm for a ghost to do that. Even if it isn't game designing, if you want to make, let's say, Facebook, then it would be useful to know quicksort algorithm to sort people by number of mutual friends they have, so you can show the top few people with the most mutual friends as "people you might know".
0
i am weak in maths
0
and actually for the games That the program respond to the gamer
0
Don't think algorithms as this complicated math questions.
They are just ways of solving things, or more efficient way of doing something.
For example, make a function that takes in two int and return the bigger int. Did it? Congratulations, you made a find-the-max-number algorithm! I'm serious. :)
Now try having an array of numbers and find the biggest number in THAT array. This is simply a slightly more complicated algorithm than the one above.