Perchwell Interview Question

medium Leetcode type, create a cache mechanism for backend.