LFU cache implementation O(1)
How to use:
- Clone repository
cargo run
create [capacity]
to init storageinsert [key] [value]
to insert valuesget [key]
to extract value by keyclear
to clear the cacheshow
to look at itexit
to close
You can read about what is LFU cache here