← ALL NOTES
Hash Table

127. Word Ladder

This one only wants the length of the shortest transformation chain, not the chains themselves — which means you can be greedier than in #126. A plain BFS from beginWord works, but the front grows…

Loading…