+ 5

Should a palindrome string input get lowered before checking?

Hi, this is the first time I ask a question like this. I only want to know, sometimes I saw other codes that contains to check a palindrome string, and the string didn't get lowered after the input and before checking. Is it OK when to check if a palindrome string gets lowered or not?

14th Sep 2017, 5:45 AM
Karuntos
Karuntos - avatar
1 Answer
+ 7
There's no specific rule for this and it really depends on the requirement but in general we ignore the case validation. For example, "Solos" was considered as a palindrome. Example:- https://code.sololearn.com/cfYbxZH82Zxx/?ref=app
14th Sep 2017, 6:01 AM
Zephyr Koo
Zephyr Koo - avatar