Answer:
There are actually 20 occurrences of the digit "2" in the numbers {1,2,⋯,100}, though there are 19 numbers in the same range where the digit "2" appears.
Explanation:
Hope this will be helpful for you.
8.8m questions
11.4m answers