i established a queue to solve this quiz using links, and already passed. The idea is straightforward, but not as beautiful as i imagined. I guess there must be more efficient and beautiful methods beyond using queues.

Actually, the LRU is a practical algorithm used in Kernel. So using queue for LRU is too slow. When asked something about efficiency, the first thing you should come up with is using HashTable. So think about it and try!