cracking-the-coding-interview icon indicating copy to clipboard operation
cracking-the-coding-interview copied to clipboard

The test cases for palindrome look not right. e.g. "act atac" is not palindrome

Open thomasq0 opened this issue 6 years ago • 1 comments

The test cases for palindrome look not right. e.g. "act atac" is not palindrome. "act atca" is.

thomasq0 avatar Jan 10 '19 00:01 thomasq0

@thomasq0 The palindrome permutation question looks at if a given string produces a palindrome from one of its permutations. While "act atac" is not a palindrome, its permutation "act atca" is a palindrome.

dmoini avatar Jul 12 '19 21:07 dmoini