Problem 45463. Word Ladder
Solution Stats
Problem Comments
-
1 Comment
Hi Asif Newaz,
thx for the problem. I enjoyed to solve it. But in the task i found a missing information. Second Test case provides in the set follwing words 'can','fan','pat'.
In the second iteration when function found pan, all three cases match and i do not see any rule in the description, why it has to be pat. When i follow in the Test Cases the solution, it seems words which differ a single character only at the end of the pattern will get preferred. For my understanding, the current description is not limiting any solution when multiple Hits are detected.
Maybe add an additional requirement, clarifying the rank of matches.
Thx :-).
Problem Recent Solvers4
Suggested Problems
-
5322 Solvers
-
2916 Solvers
-
486 Solvers
-
Without the French accent please!
131 Solvers
-
90 Solvers
More from this Author149
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!