Cody

Problem 154. Reverse Boggle

Solution 1130345

Submitted on 26 Feb 2017
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   Fail
x = ['TIPE' 'YECV' 'LSRA' 'WOTU']; y = 'RACIEST'; assert(isequal(boggle_checker(x,y),true))

Undefined function 'boggle_checker' for input arguments of type 'char'. Error in TestPoint1 (line 6) assert(isequal(boggle_checker(x,y),true))

2   Fail
x = ['TIPE' 'YECV' 'LSRA' 'WOTU']; y = 'RACIESTS'; assert(isequal(boggle_checker(x,y),false))

Undefined function 'boggle_checker' for input arguments of type 'char'. Error in TestPoint2 (line 6) assert(isequal(boggle_checker(x,y),false))

3   Fail
x = ['TIPE' 'YECV' 'LSRA' 'WOTU']; y = 'RACIESTW'; assert(isequal(boggle_checker(x,y),false))

Undefined function 'boggle_checker' for input arguments of type 'char'. Error in TestPoint3 (line 6) assert(isequal(boggle_checker(x,y),false))

4   Fail
x = ['TIPE' 'YECV' 'LSRA' 'WOTU']; y = 'AUTOLYTIC'; assert(isequal(boggle_checker(x,y),true))

Undefined function 'boggle_checker' for input arguments of type 'char'. Error in TestPoint4 (line 6) assert(isequal(boggle_checker(x,y),true))

5   Fail
x = ['TIPE' 'YECV' 'LSRA' 'WOTU']; y = 'RESTAR'; assert(isequal(boggle_checker(x,y),false))

Undefined function 'boggle_checker' for input arguments of type 'char'. Error in TestPoint5 (line 6) assert(isequal(boggle_checker(x,y),false))

6   Fail
x = ['OCEW' 'LRIR' 'GYSI' 'KREM']; y = 'SIRI'; assert(isequal(boggle_checker(x,y),true))

Undefined function 'boggle_checker' for input arguments of type 'char'. Error in TestPoint6 (line 6) assert(isequal(boggle_checker(x,y),true))

7   Fail
x = ['OCEW' 'LRIR' 'GYSI' 'KREM']; y = 'SIRIM'; assert(isequal(boggle_checker(x,y),true))

Undefined function 'boggle_checker' for input arguments of type 'char'. Error in TestPoint7 (line 6) assert(isequal(boggle_checker(x,y),true))

Suggested Problems

More from this Author56

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!