How to approach this question

if i have digits in my hand then should i try to make number from all possible combinations and check ??