add lru-cache in leecode