Test online Didactic.ro
La algoritmul de sortare prin insertie,atunci cand vectorul este deja sortat,complexitatea este: