In CS, the algorithm is the steps and the method is the means by which we do an action. All the math formulas would be algorithms as they give us instructions how to find or do something--even if they are called methods in math.n computer science an algorithm still is a step-by-step manner towards solving a problem-an implementation-agnostic set of steps. A method commonly refers to a chunk of code associated with a class or object that does some task-it can implement many algorithms potentially. share | improve this answer.