Removing Elements

Revision en1, by ShowStopper728, 2018-02-01 19:54:18

I need to know a way to remove elements in O(1) time . I used hash table , put the values as keys but there is a problem that the values are not distinct . Is there a way to remove elements in O(1) time if they aren't distinct ?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English ShowStopper728 2018-02-01 19:54:18 247 Initial revision (published)