Skip to the content.

Algoritmizace

Osnova

Algoritmus

Vlastnosti algoritmů

Druhy algoritmů

Algoritmická složitost

FUNCTION sumRecursive(n)
IF n == 0 THEN
RETURN 0
ELSE
RETURN n + sumRecursive(n - 1)
END IF
END FUNCTION

FUNCTION sumFormula(n)
RETURN n * (n + 1) / 2
END FUNCTION

Známé algoritmy

Zdroje