Winter SalePremium questions, over 25% offUnlock all premium questions for over 25% 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
- Find Oldest One-Time Visitormedium
- All String Reorganizationseasy
- Assemble String From Blocksmedium
- Reversi Single Move Simulationmedium
- Design Card Draw Gamemedium
- Meeting Room Assignmentmedium
- OA [CodeSignal] Maximum Protected City Populationmedium
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.