NVIDIA interview question

Design a CAM.