Revert "validpalindrome "

This reverts commit 4409050a8a6548db17547599bd4ce30d9c6e096e.