Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started
Check Palindrome String
00:00
5 left

Check Palindrome String

EasyPython

Problem

Determine whether a given string is a palindrome. Return true if it reads the same forward and backward; otherwise return false.

Constraints

  • 0 <= len(s) <= 10^5
  • s contains ASCII characters
  • Use exact character comparison
Interviewer

Your question is Check Palindrome String. Start with the requirements in the Question tab.

Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.

You need to log in / sign up to run or submit.
CodePython 3
You need to log in / sign up to run or submit.Ln 2
Run your code to see test output here.