an algorithm is a set of instructions for solving some problem, step-by-step

3 years ago
10.5K

What's an algorithm?In computer science,an algorithm is a set of instructions for solving some problem, step-by-step.Typically, algorithms are executed by computers,but we humans have algorithms as well.For instance, how would you go about counting the number of people in a room?Well, if you're like me,you probably point at each person,one at a time,and count up from 0:1, 2, 3, 4 and so forth.

Loading comments...