+ 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?
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