you are viewing a single comment's thread
view the rest of the comments
[–] 4 points 2 years ago*

Some algorithms might be able to be written as formulas but generally no. An algorithm is a repetition of steps to achieve a desired result and does not have a fixed way of representing itself because it could make different decisions along the way in different situations.

A sorting algorithm is not a formula, for example. Formulas are mathematical or logical expressions that can be evaluated.

  • source
  • parent