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
-
270 Solvers
-
241 Solvers
-
Find the sum of the elements in the "second" diagonal
1056 Solvers
-
4577 Solvers
-
Detect a number and replace with two NaN's
182 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!