Metode de reprezentarea algoritmilor