LeetCode Word Ladder II Large TLE.