Search for a command to run...
Hi! I'm Dyno, the CodeDynamo assistant. Ask me anything about courses, pricing, mentorship, practice, or certificates.
Read a single word (lowercase letters only) and print YES if it reads the same forwards and backwards, otherwise NO.
YES
NO
madam
hello
1 ≤ length ≤ 10^5
lowercase a–z only
Run your code to see results
Press Ctrl ↵ to run or Ctrl ⇧ ↵ to submit.