Question bank › Strings
Dsa Strings Easy

Find Unique Palindrome

Write a function that reads a list of words and returns the unique palindromic words. A palindrome is a word that reads the same forward and backward. The output should be a sorted list of unique palindromic words. Ignore case sensitivity. Input format: - A single line containing space-separated words. Output format: - A single line containing space-separated unique palindromic words, sorted alphabetically. Example: Input: Civic radar level deed racecar refer Output: deck level radar civic racecar refer

Key concepts

stringspalindromeset

Practise this out loud — free

Start a mock interview on THIS exact question — a voice AI interviewer opens with it, pushes back like a real onsite, then hands you an instant scorecard.

🎙 Practise this question now
Part of InterviewLab's verified interview question bank. We show the prompt and concepts to practise with — never a copy-paste solution.