Cody

Problem 154. Reverse Boggle

Solution 1575548

Submitted on 4 Jul 2018 by William
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))

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

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

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

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

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

7   Pass
x = ['OCEW' 'LRIR' 'GYSI' 'KREM']; y = 'SIRIM'; 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!