Counting a digit from 1 to N: PYQs, trap and shortcut | One Good Prep
Counting a digit from 1 to N
The trap
19, option (a): that is how many numbers contain a 7, not how many sevens are written
The shortcut
The shortcut: from one to 99, every digit from one to 9 is written 10 times in the units place, and 10 times in the tens place. So each digit is written 20 times.