We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Before my approach we called string Palindrome either all its chars repeate even number of times or all its characters repeate even number of times except one element
This is My approach : when we sort the array , so we can know number of char^s which repeated odd numer of time (flag in my solution)
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Game of Thrones - I
You are viewing a single comment's thread. Return to all comments →
Before my approach we called string Palindrome either all its chars repeate even number of times or all its characters repeate even number of times except one element
This is My approach : when we sort the array , so we can know number of char^s which repeated odd numer of time (flag in my solution)