Cody

Solution 486297

Submitted on 14 Aug 2014 by bainhome
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
%% x = 'Sheldon, Penny, Leonard and Raj are great and great and great and great receptively. Wolowitz is just a great jerk'; y_correct = 'Sheldon, Penny, Leonard and Raj are great and awesome and great and awesome receptively. Wolowitz is just a great jerk'; assert(isequal(stringGreat(x),y_correct))

2   Pass
%% x = 'great great great. great great. great' y_correct = 'great awesome great. great awesome. great' assert(isequal(stringGreat(x),y_correct))

x = great great great. great great. great y_correct = great awesome great. great awesome. great

3   Pass
%% x = 'Greatness is great gift. Great news' y_correct = x; assert(isequal(stringGreat(x),y_correct))

x = Greatness is great gift. Great news

4   Pass
%% x = 'Being great implies that you must think like other great people and that is basically done to make sure that the proverb great minds think alike is correct and that is great. Probably that is not a great example I came up with'; y_correct = 'Being great implies that you must think like other awesome people and that is basically done to make sure that the proverb great minds think alike is correct and that is awesome. Probably that is not a great example I came up with'; assert(isequal(stringGreat(x),y_correct))