Solution 2029567

Submitted on 20 Nov 2019
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   Fail
x = rand(1,10); assert(isequal(bubble(x),sort(x)))

Unrecognized function or variable 'size'. Error in bubble (line 4) size=size(x); Error in Test1 (line 2) assert(isequal(bubble(x),sort(x)))

2   Pass
assessFunctionAbsence({'sort'}, 'FileName', 'bubble.m');

Suggested Problems

More from this Author25