Given a list of n strings. Each string has length k. Return true if there’re 2 strings that only differ by 1 character, otherwise false. You can assume that all strings contain only lowercase English letters [a-z].
Example 1:
Input: [“abc”, “xyz”, “abd”]
Output: true
Explanation: “abc” and “abd” only differ by 1 character.
Example 2:
Input: [“abc”, “def”, “xyz”]
Output: false
Example 3:
Input: [“abcd”, “bbbb”, “abxd”, “cccc”]
Output: true