On the 2nd board, 'ice' can be found at position [3 3 1] as tested in the suite, but also at position [2 2 3]. It'd be better to remove the ambiguity.
Thanks for the catch. I just fixed it. I'll be extra cautious the next time that I use short words in a word search...
This solution would fail in certain boards. Can you add such a board to your testsuite?... this is a new variant of Cody: create a problem for the problem-creator... :)
HAHAHAHA
Master!!
Mr. Grant should take your quest... on that way maybe I reach the "leader score" for this problem! :-P
1813 Solvers
Determine if a Given Number is a Triangle Number
326 Solvers
Getting the indices from a vector
3438 Solvers
385 Solvers
Square Digits Number Chain Terminal Value (Inspired by Project Euler Problem 92)
170 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!