Cody

Solution 1627083

Submitted on 13 Sep 2018 by Michael Cappello
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 = 1234455611; b = 2; y_correct = 1; assert(isequal(countMeIn(a,b),y_correct))

a = '1234455611' b = '2' y = 1

2   Pass
a = 1234455611; b = 1 y_correct = 3; assert(isequal(countMeIn(a,b),y_correct))

b = 1 a = '1234455611' b = '1' y = 3

3   Pass
a = 1234455611; b = 4 y_correct = 2; assert(isequal(countMeIn(a,b),y_correct))

b = 4 a = '1234455611' b = '4' y = 2