LRUCache = function(capacity) {
  this.capacity = capacity || 2;
  this.map = new Map();
  this.set = new Set();
  this.size = 0;
}
Least Recently Used (LRU) cache.
Map + (Hash)Set: O(1)
@param {number} capacity - Number of items to hold.