LRU Cache problem.
ERROR: Time Limit Exceeded when capacity set 2048.
For more infomation, refer to
https://oj.leetcode.com/problems/lru-cache/
LRU Cache problem.
Improve algorithm(using linked list instead of ArrayList) to avoid ERROR of Time Limit Exceeded.
For more infomation, refer to
https://oj.leetcode.com/problems/lru-cache/