Can anyone give me references of a web site containing a summary of the main Java data structures, and their respective complexity in time (for some given operations like add, find, remove), e.g. Hashtable
s are O(1) for finding, while LinkedList
s are O(n). Some details like memory usage would be nice too.
This would be really helpful for thinking in data structures for algorithms.