LRU Cache 2nd

Note: Take care when capacity <= 1 or num = 0/1.