HackerEarth One Swap to Palindrome problem solution - TheCScience