You are given a string num representing a non negative integer.
In one operation, you can pick any digit in num and delete it. If you delete all digits from num, the resulting value is considered to be
An integer is considered special if it is divisible by
Return the minimum number of operations required to make num special.
Constraints:
num.length
num consists only of digits
num does not contain any leading zeros.
You are given a string num representing a non negative integer.
In one operation, you can pick any digit in num and delete it. If you delete all digits from num, the resulting value is considered to be
An integer is considered special if it is divisible by
Return the minimum number of operations required to make num special.
Constraints:
num.length
num consists only of digits
num does not contain any leading zeros.