Hacker News new | ask | show | jobs
by jdsleppy 1764 days ago
With two years of working in Go at two companies, I have never had to write that. I can't remember writing the equivalent in Python over even more years, either. The 99% case is building a list/slice, not removing from one.

Have you ever had to remove elements from a list/slice?

1 comments

Yes, a sorted vector is a common data structure for frequent queries and infrequent updates.