Problem 42522. string comparision

Solution 721006

Submitted on 24 Aug 2015 by kfncgnhx eprueqxc
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

Test Suite

Test Status Code Input and Output
1   Pass
%% a='azy'; b='azy' y_correct = 1; assert(isequal(string(a,b),y_correct))

b = azy y = 1

2   Pass
%% a='azy'; b='lazy' y_correct = 0; assert(isequal(string(a,b),y_correct))

b = lazy