Practice Real Company Assessment Patterns • Latest 2025–2026 Mock Tests

Programming Exercises

Write a program to check if a hardcoded string is a palindrome.

Easy

Problem Statement

Write a program to check if a hardcoded string is a palindrome.

Sample Input

String: "madam"

Sample Output

Is Palindrome: True

Limits

Time: 2s · Memory: 256 MB

Code Editor
00:00
using System; class CheckPalindrome { static void Main() { // Check if the string is a palindrome } }
Log in or sign up to run or submit your code.Log inSign up
Input
String: "madam"
Expected Output
Is Palindrome: True