1. Course
  2. Recursion
  3. Check palindrome recursively

Check palindrome recursively


Last updated: 8/23/2020 Difficulty: Intermediate

Create a C# program that implements a recursive function to check if a string is a palindrome or not. A palindrome are strings that can be read equally from right to left, such as 'radar'.

Input

radar

Output

True

Solution

Recursion

6 / 6

Android App


Practice C# anywhere with the free app for Android devices.

Android App

Exercises C# by difficulty


Learn C# at your own pace, the exercises are ordered by difficulty.

Make a donation


Your donations support our work and contribute to the maintenance of the app.

Advertising