Available question text
Find the longest increasing subsequence of indices such that each adjacent pair of selected words has the same length, Hamming distance 1, and comes from different groups, and return the corresponding words. In other words, it's a longest subsequence problem with local adjacency constraints (same-length, Hamming distance 1, unequal groups) between consecutive elements.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2901. Longest Unequal Adjacent Groups Subsequence II
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source