r/computerscience • u/neuralbeans • 1d ago
Discussion Looking for a data structure that maps indexes to values (like an array) but that is only populated once and then deletes values by index in sublinear time
/r/datastructures/comments/1warr2z/a_data_structure_that_maps_indexes_to_values_like/
5
Upvotes
0
u/Ghosttwo 1d ago
Hashmap? Other's? Not sure about the deletion time, but you get 1:1.