Placement AptitudeVery hardTCS NQT Advanced · Infosys

The integers 1, 2, 3, …, n are written one after another, and 1002 digits are used in all. What is n?

  1. A. 334
  2. B. 370
  3. C. 371
  4. D. 369

Correct answer: B. 370

1–9 use 9 digits and 10–99 use 180, total 189. The remaining 813 digits give 813/3 = 271 three-digit numbers, from 100 to 370. So n = 370.

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic