• gramathyEnglish
    arrow-up
    4
    arrow-down
    0
    ·
    9 months ago
    edit-2
    9 months ago
    link
    fedilink

    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.