← ALL NOTES
Array

3483. Unique 3-Digit Even Numbers

Flip the search around: instead of generating permutations of the input digits and filtering, I walk the 450 even three-digit numbers from 100 to 998 and ask which ones my digit multiset can actually build.

Loading…