Practice
Learn
← Quit
0 / 0 correct
Algorithms
Hard
1 of 40
How do you find the shortest transformation sequence in Word Ladder (change one letter at a time)?
A
Sorting the dictionary
B
DFS with backtracking
C
Dijkstra with random weights
D
BFS over words, generating neighbours via wildcard patterns (h*t) or letter substitutions; bidirectional BFS speeds it up