Algorithm · Salesforce · Medium
Requirements You receive an array arr containing n lowercase-English strings, where $$1 \le n \le 1000$$ and 1 ≤ len(arr[i]) ≤ 1000. In one move, select two different strings x and y, then exchange one character from x with one character from y; positions are described with 1-based indexing. You may perform this move as many times as desired. Determine the largest count of strings that can be made palindromic at the same time. Function signature (Python): Examples Notes…
Checking your access…