Cody

Solution 192264

Submitted on 17 Jan 2013
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
%% x = ['TIPE' 'YECV' 'LSRA' 'WOTU']; y = 'RACIEST'; assert(isequal(boggle_checker(x,y),true))
rs = TYLWIESOPCRTEVAU ans = 1
2   Fail
%% x = ['TIPE' 'YECV' 'LSRA' 'WOTU']; y = 'RACIESTS'; assert(isequal(boggle_checker(x,y),false))
Error: Assertion failed.
3   Fail
%% x = ['TIPE' 'YECV' 'LSRA' 'WOTU']; y = 'RACIESTW'; assert(isequal(boggle_checker(x,y),false))
Error: Assertion failed.
4   Pass
%% x = ['TIPE' 'YECV' 'LSRA' 'WOTU']; y = 'AUTOLYTIC'; assert(isequal(boggle_checker(x,y),true))
rs = TYLWIESOPCRTEVAU ans = 1
5   Fail
%% x = ['TIPE' 'YECV' 'LSRA' 'WOTU']; y = 'RESTAR'; assert(isequal(boggle_checker(x,y),false))
Error: Assertion failed.
6   Pass
%% x = ['OCEW' 'LRIR' 'GYSI' 'KREM']; y = 'SIRI'; assert(isequal(boggle_checker(x,y),true))
rs = OLGKCRYREISEWRIM ans = 1
7   Pass
%% x = ['OCEW' 'LRIR' 'GYSI' 'KREM']; y = 'SIRIM'; assert(isequal(boggle_checker(x,y),true))
rs = OLGKCRYREISEWRIM ans = 1