Available question text
Given a table of DNA sequences, produce four boolean flags per sample indicating whether the sequence starts with "ATG", ends with any of "TAA"/"TAG"/"TGA", contains the motif "ATAT", or has at least three consecutive "G"s, and return rows ordered by sample_id. This problem tests string/pattern-matching operations (prefix/suffix/substring/regex) to derive the flags.
Related questions
Continue with questions that share topics or the same question type.
- 132 Pattern
Coding · Array · Binary Search · Monotonic Stack
- Analyze User Website Visit Pattern
Coding · Array · Hash Table · Sorting
- Circuit Breaker Pattern Implementation
Coding
- Detect Pattern of Length M Repeated K or More Times
Coding
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 3475. DNA Pattern Recognition
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source