Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
bjoli
· 4y ago · 0 comments
Copy the array on every append? :)
Comments
[–]
Slasher1337
4y ago
That would not be O(1), but O(n) per insert.