Cody

Solution 941639

Submitted on 24 Aug 2016 by J.R.! Menzinger
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))

x = {} x = 'D' x = D

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

x = {} x = 'D' x = '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))

x = {} x = 'C' x = 'C' 'B' x = 'C' 'B' 'A'