IBM logoIBM
Coding·60 minMembers

Maximum Palindromes After Cross-String Swaps

Members only

Given an array of lowercase strings, any operation may swap one character from one string with one character from another string. Return the maximum number of strings that can be made palindromic.

SWE
string
hashmap
greedy
medium
Frequency
Single report
Last asked
2026-02-22
Stage
oa

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...