Data Structures & AlgorithmsHardGATE CS · TCS NQT

How many integers from 1 to 200 inclusive are palindromes when written in decimal?

  1. A. 29
  2. B. 28
  3. C. 27
  4. D. 19

Correct answer: B. 28

Decimal palindromes: 9 one-digit, 9 two-digit and 10 three-digit values (101 to 191), giving 28.

More Arrays, Strings, Linked Lists, Stacks, Queues and Hashing questions

Exams that ask this topic