Leetcode 1554. Strings Differ by One Character
Given an array of equal-length strings, determine whether any two strings differ by exactly one character (Hamming distance = 1). Aim for better than brute-force pairwise comparison when inputs are large by using pattern-based hashing or prefix/trie techniques.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.