Least Recently Used cache using C++

前端 未结 7 1295
甜味超标
甜味超标 2020-12-14 05:04

I am trying to implement LRU Cache using C++ . I would like to know what is the best design for implementing them. I know LRU should provide find(), add an element and remov

相关标签:
7条回答
  • 2020-12-14 05:38

    I suggest a heap and maybe a Fibonacci Heap

    0 讨论(0)
提交回复
热议问题