LeetCode Question · Dec 2021

TikTok Phone Screen Software Engineer

3 upvotes 2,317 views 3 replies

Question Details

Input: beginWord = "hit", endWord = "cog", wordList = ["hit", "hig", "hot","hog","lot","dog","cog","dot"] Output: 3 Explanation: One shortest transformation sequence is "hit" -> "hot" -> "hog" -> "cog", which is 3 jumps...

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Recursion