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
Please elaborate what is not correct. The result is correct: https://ideone.com/HXBjlH
The output is valid, TTE is a permutation of the palindrome TET:
Does "TTE" has a string whose permutation is a pallindrome? ( 1 for true, 0 for false ) :
Approach 1:1
Approach 2:1
Approach 3:1
I just referred to this practice and found that the result might be wrong if the string pattern is "TTE"
The text was updated successfully, but these errors were encountered: