Go through the following faulty palindrome detection pseudocode and test cases. For which of the test cases would the code return true?

Palindrome Test cases image

Testcases A: a B: aba C: aaa D: aac