if difference between number and its sum of digit is smaller than given difference then smallest number will be on left side
if ( mid - sumOfDigit ( mid ) < diff ) : NEW_LINE INDENT low = mid + 1 NEW_LINE DEDENT