Apple interview question

Addressing memory to read/compute image