From Cracking the Coding Interview: Question 10: int sumDigits(int n) { int sum = 0; while (n < 0) { num += n % 10; n /= 10; } return sum; } The runtime will be the number of digits in the number. A number with d digits can have a value up to 10^d. if n = 10^d, then d = log n. Therefore, the runtime is 0(log n). Question 11: The following code prints all strings of length k where the characters ..