Cody

Solution 2089062

Submitted on 11 Jan 2020 by Asif Newaz
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 = [1 2 5 13 55 23 15]; d = 5; y_correct = [1 2 13 23]; assert(isequal(digitRemove(v,d),y_correct))

b = '1' c = [] b = '2' c = [] b = '5' c = 1 b = '13' c = [] b = '55' c = 1 2 b = '23' c = [] b = '15' c = 2

2   Pass
v = [3 24 7 9 18 55 67 71]; d = 7; y_correct = [3 24 9 18 55]; assert(isequal(digitRemove(v,d),y_correct))

b = '3' c = [] b = '24' c = [] b = '7' c = 1 b = '9' c = [] b = '18' c = [] b = '55' c = [] b = '67' c = 2 b = '71' c = 1

Suggested Problems

More from this Author23