TikTok Interview Question

Leetcode hard question: Word Ladder (rd 1)