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