Practice Problem

Word Ladder

Difficulty: Hard

Given a begin word, end word, and a dictionary, find the length of the shortest transformation sequence where each step changes exactly one letter.