Available question text
Find the longest string seq such that seq repeated k times (seq*k) is a subsequence of s, returning the lexicographically largest one on ties (or empty if none). The core challenge is searching the combinatorial space of subsequences under subsequence-check constraints (lowercase alphabet, n up to ~2000, k up to 2000) with pruning/position-based preprocessing.
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 2014. Longest Subsequence Repeated k Times
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source