codefights 문제인데 단계별로 풀고 있는데 대략적으로 번역기 돌려가며 계속 풀었는데 이번엔 문제 이해가 안된다...

답을 바라는게 아니고 문제 이해만 좀 시켜줘라... 문제는 내가 풀테니

구글 : 같은 길이의 문자열 배열이 주어지면, 재배치 후에 연속적인 위치에있는 문자열이 정확히 한 문자 씩 달라지는 방식으로 문자열을 재 배열 할 수 있는지 확인하십시오.

네이버 : 일련의 문자열을 연속적으로 배열할 경우 문자열을 연속적으로 배치할 수 있도록 문자열을 재정렬할 수 있도록 문자열을 재정렬할 수 있는지 여부를 확인하십시오.


Given an array of equal-length strings, check if it is possible to rearrange the strings in such a way that after the rearrangement the strings at consecutive positions would differ by exactly one character.


Example

For inputArray = ["aba", "bbb", "bab"], the output should be

stringsRearrangement(inputArray) = false;

All rearrangements don't satisfy the description condition.

For inputArray = ["ab", "bb", "aa"], the output should be

stringsRearrangement(inputArray) = true.

Strings can be rearranged in the following way: "aa", "ab", "bb".

Input/Output

[time limit] 500ms (cpp)

[input] array.string inputArray

A non-empty array of strings of lowercase letters.

Guaranteed constraints:

2 ≤ inputArray.length ≤ 10,

1 ≤ inputArray[i].length ≤ 15.


[output] boolean


테스트 케이스가 있어야 뭔 문제인지 파악할 수 있을 것 같아서 테스트 케이스도 첨부함

inputArray: ["aba",  "bbb",  "bab"]  Expected Output: false

inputArray: ["ab",  "bb",  "aa"] Expected Output: true

inputArray: ["abc",  "bef",  "bcc",  "bec",  "bbc",  "bdc"] Expected Output: true

inputArray: ["zzzzab",  "zzzzbb",  "zzzzaa"] Expected Output: true

inputArray: ["ab", "ad", "ef", "eg"] Expected Output: false

inputArray: ["abc", "abx", "axx", "abc"] Expected Output: false

inputArray: ["abc",  "abx",  "axx",  "abx",  "abc"] Expected Output: true