//T.C : O((num2 - num1) * log10(num2)) — for each number we scan its digits //S.C : O(log10(num2)) — space for the digit string of each number ...