Solution 1020023

Submitted on 17 Oct 2016 by SirSteve26
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
x = rand(1,10); % check for the word "sort fid = fopen('bubble.m'); t = char(fread(fid,'char')'); fclose(fid); noSort = isempty(findstr(t, 'sort')); if ~noSort disp('Do not use "sort.m" or even type "sort" in your solution!') end % assert(noSort && isequal(bubble(x),sort(x)))

Suggested Problems

More from this Author25