Halloween Sale
Unlock all premium questions for over 30% off
Smallest Lexicographic Palindrome
Medium
Question
You are given a string s that is symmetric (it is already a palindrome). Reorder its characters to build the palindrome that is smallest in lexicographical order, and return it.
...
Asked at:Amazon
More Amazon interview questions
- Connect Points In Unbounded Matrixhard
- Prefix Frequency Block Partitioneasy
- Diagonal Server Redirect Pathhard
- Minimum Variant Conversion Costmedium
- Reversi Single Move Simulationmedium
- Design Card Draw Gamemedium
- Meeting Room Assignmentmedium
- Find Minimum City Hopsmedium
OfferRetriever
Master technical interviews with real questions from top companies. Build your confidence and career.
LEGAL
© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.