Problem Description

Check if string reads same forwards and backwards using recursion.
Real Life: Words like "madam", "radar" that read same both ways.

Step-by-Step Logic:
1. Base case: if string empty or single char, it's palindrome
2. Check if first and last characters match
3. If yes, recursively check remaining middle string
4. If no, not a palindrome

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next