Is writing algorithm a important thing to become a programmer? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is writing algorithm a important thing to become a programmer?

i am weak in writing algo

4th Oct 2016, 3:31 AM
Melbin
Melbin - avatar
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".
4th Oct 2016, 5:38 AM
dragonbro1015
dragonbro1015 - avatar
0
i am weak in maths
4th Oct 2016, 5:40 AM
Melbin
Melbin - avatar
0
and actually for the games That the program respond to the gamer
4th Oct 2016, 5:49 AM
Austin Goldstar
Austin Goldstar - avatar
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.
4th Oct 2016, 6:32 AM
dragonbro1015
dragonbro1015 - avatar