Solution 1022047

Submitted on 18 Oct 2016 by daniel lamont
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)))