Solve the word ladder ii problem in leetcode. It cost me a long time (10 hours I guess) to solve this problem completely. Most of the time, I am stuck in the time limit exceeded issue. The TLE problem got resolved because I realized I should keep a set of minimum paths to a certain word and use combination to find all possible ladders in the end instead of keep all combinations when searching.