qwertyboss

The only difference between ordinary and extraordinary is just that little "extra".

🌞 routine

qwertyboss Author

what's yours? πŸ˜…

0 Likes
Carl Poppa πŸ›Έ

sounds good!

0 Likes

lc 127. Word Ladde

A transformation sequence from word beginWord to word endWord using a dictionary wordList is a sequence of words beginWord -> s1 -> s2 -> ... -> sk

Input: beginWord = "hit", endWord = "cog", wordList = ["hot","dot","dog","lot","log","cog"]
Output: 5