Some problem solving programming challenges, i have solved. Not all are here, but started adding them slowly.
This project is maintained by chankruze
Given the string, check if it is a palindrome.
For inputString = "aabaa"
, the output should be
checkPalindrome(inputString) = true
For inputString = "abac"
, the output should be
checkPalindrome(inputString) = false
For inputString = "a"
, the output should be
checkPalindrome(inputString) = true
[execution time limit] 4 seconds (py3)
1 ≤ inputString.length ≤ 105
true
if inputString
is a palindrome, false
otherwise.