Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
sebzim4500
· 1mo ago · 0 comments
You forgot to specify that f(n) approaches 1 so that is an easy challenge
Comments
[–]
ironborn123
1mo 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.