Back to Question

Minimum Genetic Mutation

Question Explain

Given a start gene, an end gene, and a bank of valid genes, find the minimum number of mutations needed to change the start gene to the end gene, where each mutation changes only one character and results in a valid gene. Use BFS.

Start Trying This Question Simulation

Click "Start Speaking" and answer the question naturally.