← Cognizant questions

Reverse a number, reverse a string, and check for palindromic string

Filed under Cognizant

Implement three separate functions: one to reverse a signed integer, one to reverse a string, and one to check if a string is a palindrome.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Cognizant questions

Collected from public candidate posts and coding forums. Updated Nov 2026.