Problem 3265 · Medium
Count index pairs whose numbers become equal after swapping two digits in at most one of them.
Open the interactive visualisation