Back to Questions

Word Ladder

88.3K viewsAsked at Salesforce
Hard

Question Explain

Given two words, `beginWord` and `endWord`, and a dictionary `wordList`, find the length of the shortest transformation sequence from `beginWord` to `endWord`.

Start Trying This Question Simulation

Practice answering orally or with text to get instant AI feedback.

Practice with This Question
Word Ladder - Interview Question