resolve Word_Ladder_II