Rzné algoritmy mají rznou složitost