Design an in-memory cache | Hello Interview