Cody

Solution 50740

Submitted on 24 Feb 2012 by @bmtran
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
%% E = 'humankind'; S = 'dinosaurs'; y_correct = 33; assert(isequal(OV(E,S),y_correct))
2   Pass
%% E = 'harrypotter'; S = 'voldemort'; y_correct = 42; assert(isequal(OV(E,S),y_correct))
3   Pass
%% E = 'everyone'; S = 'cookies'; y_correct = 39; assert(isequal(OV(E,S),y_correct))