Apple Interview Question

Addressing memory to read/compute image