Design Neighbor Sum Service
teaching model: remember where each value sits once, then answer side-neighbour and diagonal-neighbour sums by looking only at the cells around it.
teaching model: remember where each value sits once, then answer side-neighbour and diagonal-neighbour sums by looking only at the cells around it.