Comparison of preceding algorithms complexities