Live Batches
Masterclasses
Menu
Free Courses
Account
Login / Sign Up
Problem Submissions Solution

Check Palindrome

Difficulty: Easy

Acceptance: 90.00%

Points: 20.00

You are given a string s. Your task is to check whether the string is a palindrome using recursion only. A string is called a palindrome if it reads the same forward and backward. Return true if the string is a palindrome; otherwise, return false.

Topics

Companies

Articles

Examples:

N/A

Constraints:
  • 1 = length of s = 105
  • The string contains printable characters only
Companies:
Microsoft ZScaler Mastercard
Topics:
Recursion
Locked Content
Access Restricted: Please Login to access the code editor and test cases.