Daniel Dantas

22%
Flag icon
Namely, if you follow the LRU principle—where you simply always put an item back at the very front of the list—then the total amount of time you spend searching will never be more than twice as long as if you’d known the future. That’s not a guarantee any other algorithm can make.
Algorithms to Live By: The Computer Science of Human Decisions
Rate this book
Clear rating
Open Preview