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))
|
Extract leading non-zero digit
967 Solvers
Remove the polynomials that have positive real elements of their roots.
448 Solvers
Find perfect placement of non-rotating dominoes (easier)
228 Solvers
Convert a vector into a number
442 Solvers
Sort the vector with the given index
77 Solvers