Cody

Solution 2130347

Submitted on 16 Feb 2020 by Bhaskar R
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
v = ["Brown","Blue","Red","Orange","Purple","Green","Yellow","White"]; a = ["Brown","Red"]; y_correct = [1,3]; assert(isequal(your_fcn_name(v,a),y_correct))

2   Pass
v = ["Lion","Koara","Elephant","Snake","Dog","Cat","Camel"]; a = ["Koara","Snake","Dog"]; y_correct = [2,4,5]; assert(isequal(your_fcn_name(v,a),y_correct))

3   Pass
v = ["taxi","","Train","Bus","Cat","Subway"]; a = ["","Bus","Subway"]; y_correct = [2,4,6]; assert(isequal(your_fcn_name(v,a),y_correct))