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... :)
Mr. Grant should take your quest... on that way maybe I reach the "leader score" for this problem! :-P
Connect Four Win Checker
Number of 1s in the Binary Representation of a Number
Swap the input arguments
The Dark Side of the Die
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
Lights Out 4 - 5x5, 8 moves
Combined Ages 1 - Symmetric, n = 3
Stress-Strain Properties - 8
Divisible by 5
Scrabble Scores - 11
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office