Apple interview question

Design a system to test a memory device integrity over time.

Interview Answer

Anonymous

22 May 2021

I suggested to write the memory addresses into the memory and perform a check against them. The interviewer suggested that abetter solution would be to use the memory address as a seed to the random function, and to write the output of the function in to the memory itself.