Which edge case matters for this problem?

Practice this question from LRU Cache - Hash Map Plus Recency List Pattern Practice Quiz, with options and an explanation.

Question

Which edge case matters for this problem?

Option A — Correct answer

Updating an existing key must refresh recency.

Option B

Whether a graph has islands

Option C

Whether an interval touches another interval

Option D

Whether a string is a palindrome

Explanation

Updating an existing key must refresh recency.

LRU Cache - Hash Map Plus Recency List Pattern Practice Quiz

All questions · Previous question

Open on QuizMaker