- Quiz
- Test Cases
- Solution
- Solution 1
- Solution 2
Test Case 1
Input
inputString = "abcdcba"
Output
true
Test Case 2
Input
inputString = "ABBA"
Output
true
Test Case 3
Input
inputString = "a"
Output
true
Test Case 4
Input
inputString = "W+ Coding"
Output
false
Test Case 5
Input
inputString = ""
Output
false
- My Answer
- Lecture
- Output