Write solve(s) that returns true if s reads the same forwards and backwards, false otherwise.
Is Palindrome
Examples
- solve("level") → true
- solve("hello") → false
Write solve(s) that returns true if s reads the same forwards and backwards, false otherwise.
Examples