# Find the Distinct Difference Array (LeetCode 2670)
## Approach
Prefix/suffix distinct counts via sets.
## Edge cases
Odd board sizes / blocked cells.
## Practice tip
Narrate tradeoffs out loud before coding.
Interview prep: [official website](https://www.linkjob.ai/).