Is Palindrome
Lesson 2 of 15 in Coddy's Recursion Challenges - Master The Recursive Thinking course.
A palindrome is a string that reads the same backward or forward.
Examples,
- "121"
- "111"
- "1234321"
- "bob"
- "step on no pets"
Challenge
EasyWrite a function isPalindrome that gets a string s and returns true if s is a palindrome, otherwise false.
Try it yourself
#include <stdbool.h>
bool isPalindrome(char* s) {
// Write code here
}All lessons in Recursion Challenges - Master The Recursive Thinking
1Easy Challenges
Fibonacci SequenceIs PalindromeLongest Common PrefixMerge Two Sorted ListsFactorialFirst Occurrence in String