L25 - Lexicographically First Palindromic String
L25 - Lexicographically First Palindromic String
L25 - Lexicographically First Palindromic String
first palindromic
string
Introduction:
Examples:
Input : Malayalam
Output : aalmymlaa
Input : apple
Output : no palindromic string
Two type of Approach:
Simple Approach: