15/36
Part 3 of 6 · The clustered SELearn and do

Adding up inside the city before squaring keeps the pairs that share a city

The loop's one important move is the order: add, then square.

Predict

City A's residuals are -5, -2, -4 and -1. Their total squared is 144, and the diagonal, each user alone, adds up to 46. What do the other 12 cells hold?

Pick an answer above to see the rest