Mark As Completed Discussion

Build your intuition. Click the correct answer from the options.

What role does the 'put' method play in LRU cache setting within a Key-value Store?

Click the option that best answers the question.

  • Adds a specific key-value pair to the Store, updates its value if it already exists and removes the least recently used item if the cache is full
  • Checks if a key exists in the Store
  • Removes items from the Store regardless of their use
  • Ensures the Store does not exceed its memory capacity