#3483
Unique 3-Digit Even Numbers
pupil · 310 · lc easy +21 · 69.2% accepted · 127 likes · top 77%
Description
Given an array digits, count how many distinct 3-digit even numbers can be constructed using those digits.
Each digit copy may only be used once per number, and no leading zeros are allowed.
Code
1
2
3