My approach to Palindrome
I want to approach popular algorithms and explain my approach to solving them. In saying that let's get started with the ever so popular Palindrome.
What we Know
- The parameter is a string.
- It will contain at least one character as it will be non-empty.
- We must return either…