← ALL NOTES
Array

2901. Longest Unequal Adjacent Groups Subsequence II

Given words (equal-length strings) and groups. Find the longest subsequence of indices where, for any adjacent chosen pair: the groups differ AND the words differ by exactly one character (Hamming…

Loading…