Betsol interview question

2. Check if a string is Palindrome