Domanda di colloquio di Microsoft

Questions about cache memory and code complexity.