Problem 3242 · Easy

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.

Open the interactive visualisation