🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Two Pointers Quiz: all 8 questions

Two Pointers Quiz · Question 8 of 8

Is "racecar" a palindrome? Type yes or no.

Is "racecar" a palindrome? Type yes or no.

Answer & explanation

Correct answer: yes

Reading from both ends inward: r=r, a=a, c=c, then e in the middle — it matches.

Can you get the rest right without peeking?

Take the timed Two Pointers Quiz quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →