This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.
471 Responsehttp://css.freetonik.com/2009/05/29/01-algorithms/01%3A+Algorithms2009-05-28+21%3A12%3A37freetonik to 01: Algorithms
У тебя ошибка в ответе 3.1: “All other things being equal, we would prefer the quadratic algorithm to the linear for values larger than 312.” Всё должно быть с точностью до наоборот, т.к. 1/3*n^2 +6n > 111n-312 для всех n от 4 до 311 включительно.
1 Response to 01: Algorithms
Anonymous
Октябрь 13th, 2009 at 20:31
У тебя ошибка в ответе 3.1: “All other things being equal, we would prefer the quadratic algorithm to the linear for values larger than 312.” Всё должно быть с точностью до наоборот, т.к. 1/3*n^2 +6n > 111n-312 для всех n от 4 до 311 включительно.