Available question text
Given 8-char gene strings and a bank of allowed genes, find the minimum number of single-character mutations to transform startGene into endGene by moving only between bank-valid strings; model this as a graph where edges connect strings that differ by one character and use BFS to get the shortest path (return -1 if unreachable). The gene alphabet is {A,C,G,T} and bank size is small (≤10), so exhaustive BFS over valid nodes is feasible.
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 433. Minimum Genetic Mutation
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source