Palindrome Check

PHP Easy 5 views
Back to Questions

Problem Description

Check if the string is a palindrome ignoring spaces and case.

Input Format

One line string s.

Output Format

YES or NO.

Sample Test Case

Input:
nurses run
Output:
YES

Constraints

|s|

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next