cracking-the-coding-interview
cracking-the-coding-interview copied to clipboard
The test cases for palindrome look not right. e.g. "act atac" is not palindrome
The test cases for palindrome look not right. e.g. "act atac" is not palindrome. "act atca" is.
@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.