Given a stream of real-time data queries, design an in-memory caching mechanism that evicts items based on custom cost metrics rather than just access time.
Problem
Given a stream of real-time data queries, design an in-memory caching mechanism that evicts items based on custom cost metrics rather than just access time.
Your answer
Try one AI text evaluation on us
Get structured feedback, scored against a 4-axis rubric. Premium unlocks unlimited.