String
2839. Check if Strings Can be Made Equal With Operations I
Given two strings s1 and s2 of length 4. One operation swaps two characters in one string if their indices differ by 2 (i and i+2). Decide whether s1 can be made equal to s2. Swapping-by-2 links…
Loading…