Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
matvore
· 3y ago · 0 comments
If you store the number of zeros as value z, computing z+1 is O(log n) in the long run for unbounded values of z.
Comments
No comments yet.
Better HN