HackerRank - Palindrome Index
#Palindrome #String #TwoPointer
Use two Pointers that one is scanning from the Beginning of the String and the other one is scanning from the End of the String and when there are different characters found try to skip one of them to continue check if the rest substring is Palindrome or not to solve HackerRank Palindrome Index problem.
Please subscribe, like and comment to let us learn from each other!
BGM: https://www.bensound.com