Revert "validpalindrome "

This reverts commit 4409050a8a6548db17547599bd4ce30d9c6e096e.
Revert "DP"

This reverts commit 0dd2ad9f224fac194adec68c5dfa5bfb8114a514.