Search
⌘K
Get Premium
Leetcode 187. Repeated DNA Sequences
Find all distinct 10-letter substrings of a DNA string that occur more than once. This is typically solved by scanning with a sliding window and detecting repeats efficiently using hashing or compact 2-bit encoding to handle lengths up to 10^5.
Asked at:
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Late December, 2024
Principal
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.