← Back to context Comment by sebzim4500 21 hours ago You forgot to specify that f(n) approaches 1 so that is an easy challenge 1 comment sebzim4500 Reply ironborn123 21 hours ago yes f(n) tending to 1 as n tends to infinity is the worthy goal. how slowly it gets there would determine whether the growth is effectively O(n) or something slightly larger but that refinement can come later.
ironborn123 21 hours ago yes f(n) tending to 1 as n tends to infinity is the worthy goal. how slowly it gets there would determine whether the growth is effectively O(n) or something slightly larger but that refinement can come later.
yes f(n) tending to 1 as n tends to infinity is the worthy goal. how slowly it gets there would determine whether the growth is effectively O(n) or something slightly larger but that refinement can come later.