#3483
Unique 3-Digit Even Numbers
easy · 69.2% accepted · 127 likes · top 77%
array · hash table · recursion · enumeration
Description
You are given an array of digits called digits. Your task is to determine the number of distinct three-digit even numbers that can be formed using these digits.
Note: Each copy of a digit can only be used once per number, and there may not be leading zeros.
Solution