Pregunta de entrevista de Cadence Design Systems

2 problem ,LRU, DP1. not very easy.