tow string are said to be twins only if they can be made equivalent by performing some operations on one or both string.
there are two possible operations:
swapEven : swap a character at an even-numbered index with a character at another even-numbered index
swapOdd : swap a character at an odd-numbered index with a character at another odd-numbered index
fore exemple :
given : arr ["cdab","dcba","a]