Maximum palindrome with k swaps
Filed under Directi
The question
Given a number representation as a string and an integer k, find the maximum possible palindrome number you can form using at most k swaps.
No write-up yet. Related questions below have one.
Related Directi questions
Collected from public candidate posts and coding forums. Updated Nov 2026.