Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
robconery
· 7y ago · 0 comments
The Big O of an algorithm
does not change
based on data size. Even if your set had precisely 1 record in it - the code you write, if it loops over every item in the set (even if it's only one item) - is
still O(n)
.
Comments
[–]
roel_v
7y ago
Yes I know that - was this reply meant for another comment?