Karthick Manoharan

72%
Flag icon
Note that our quick lookups are only in one direction—we can quickly get the value for a given key, but the only way to get the key for a given value is to walk through all the values and keys. Same thing with arrays—we can quickly look up the value at a given index, but the only way to figure out the index for a given value is to walk through the whole array.
The Intuitive Guide to Data Structures and Algorithms
Rate this book
Clear rating
Open Preview