Documented algorithm complexity