You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here we use the Counter() to check whether string is palindrome or not. If count of the alphabet is odd viz. 'e' in "racecar" then there should be only one alphabet that can be odd. If all counts are even then it can be used to from a palindrome.