About 183,000 results
Open links in new tab
  1. Recursive function to check if a string is palindrome

    3 days ago · Given a string s, the task is to check if it is a palindrome or not. Examples: The idea is to recursively check if the string is palindrome or not. Initialize two pointers: one to point to …

  2. Check palindrome recursively - Exercises Java

    Nov 13, 2023 · Implement a recursive function called isPalindrome that takes the input string and checks if it is a palindrome. The isPalindrome function should return true if the string is a …

  3. Solved X275: Recursion Programming Exercise: Check

    Write a recursive function named checkPalindrome that takes a string as input, and returns true if the string is a palindrome and false if it is not a palindrome. A string is a palindrome if it reads …

  4. C Exercises: Check a given string is Palindrome or not

    Mar 20, 2025 · Write a C program to verify if a sentence (with spaces) is a palindrome using recursion. Write a C program to return the longest palindromic substring from a string …

  5. C++ Recursion: Checking palindrome strings using recursive

    Apr 14, 2025 · Write a C++ program to recursively determine if a string is a palindrome by comparing its first and last characters. Write a C++ program that implements a recursive …

  6. Java Recursive Method: String palindrome detection - w3resource

    5 days ago · Learn how to write a recursive method in Java to check if a given string is a palindrome. Explore the concept of palindromes and implement a recursive algorithm to …

  7. Check Palindrome (recursive) - Naukri Code 360

    Check Palindrome (recursive) compare(String str, int n, int k): This method takes the input string str , the length of the string n , and the current index k . It recursively compares characters …

  8. c recursive function to check if a string is palindrome

    Jul 7, 2023 · int is_palindrome_rec( const char *s, size_t n ) { return ( n < 2 ) || ( s[0] == s[n-1] && is_palindrome_rec( s + 1, n - 2 ) ); } int is_palindrome( const char *s) { return …

  9. Recursion Programming Exercise: Check Palindrome - Virginia …

    Write a recursive function named checkPalindrome that takes a string as input, and returns true if the string is a palindrome and false...

  10. Check palindrome recursively - Exercises C#

    Aug 23, 2020 · Create a C# program that implements a recursive function to check if a string is a palindrome or not.

  11. Some results have been removed
Refresh