# Maximum Difference Score in a Grid (LeetCode 3148)
Practice note for coding interviews.
## Approach
Prefix sums + hashmap frequency counting.
## Complexity
State time and space clearly; call out edge cases (empty input, duplicates, extremes).
## Practice tip
Rehearse the explanation out loud. An [AI coding interview assistant](https://www.linkjob.ai/) helps keep structure under time pressure.
Disclosure: personal study notes; I am affiliated with Linkjob AI.