Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pjscott
on July 22, 2022
|
parent
|
context
|
favorite
| on:
Ask HN: What are some cool but obscure data struct...
Note that re-sorting an array after making a constant number of changes can be done in O(n) and will usually be very fast in practice. Insertion sort will do it, as will Timsort and similar algorithms.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: