If you write all the numbers from 300 to 400, how many times you have to write the number 3
120
At hundreds place we will have 100 times 3 (300 to 399)
At tens place we will have 10 times 3 (30 to 39)
At ones place we will have 10 times 3 (303, 313,323,333 etc till 393)
So, total 120 times we will encounter the number 3