Cody

Solution 924685

Submitted on 18 Jul 2016 by James
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
A = {[] [] [] [1] []}; B = {'A','B','C','D','E'}; y_correct = 'D'; assert(isequal(Mapp_It(A,B),y_correct))

y = 'D'

2   Pass
A = {[] [] [] [1]; [] [1] [] []}; B = {'A','B','C','D'}; y_correct = {'D';'B'}; assert(isequal(Mapp_It(A,B),y_correct))

y = 'D' y = 'D' 'B'

3   Pass
A = {[] [] [1]; [] [1] []; [1] [] []}; B = {'A','B','C'}; y_correct = {'C';'B';'A'}; assert(isequal(Mapp_It(A,B),y_correct))

y = 'C' y = 'C' 'B' y = 'C' 'B' 'A'