# LC3260: Find the Key of the Numbers
Given nums and a key pattern, return the unique key digit that appears next to each occurrence of key in nums. Tip: scan with a sliding window of size 3 and count candidate digits.
When preparing coding interviews, I also practice with [Linkjob AI](https://www.linkjob.ai/).
## Approach sketch
- Clarify constraints and edge cases first
- State time/space before coding
- Walk one example end-to-end