Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
str1 = 'apple';
str2 = 'pear';
concat_str = 'elppa pear';
assert(isequal(your_fcn_name(str1, str2),concat_str))
ans =
'elppapear'
|
2 | Fail |
str1 = 'one';
str2 = 'two';
concat_str = 'eno two';
assert(isequal(your_fcn_name(str1, str2),concat_str))
ans =
'enotwo'
|
3 | Fail |
str1 = 'one two';
str2 = 'three four';
concat_str = 'owt eno three four';
assert(isequal(your_fcn_name(str1, str2),concat_str))
ans =
'owt enothree four'
|
4 | Fail |
str1 = 'hello';
str2 = 'there';
concat_str = 'olleh there';
assert(isequal(your_fcn_name(str1, str2),concat_str))
ans =
'ollehthere'
|
5 | Fail |
str1 = 'This is half a sentence;';
str2 = 'here is the other half.';
concat_str = ';ecnetnes a flah si sihT here is the other half.';
assert(isequal(your_fcn_name(str1, str2),concat_str))
ans =
';ecnetnes a flah si sihThere is the other half.'
|
6 | Fail |
str1 = 'left';
str2 = 'right';
concat_str = 'tfel right';
assert(isequal(your_fcn_name(str1, str2),concat_str))
ans =
'tfelright'
|
7 | Fail |
str1 = 'right';
str2 = 'left';
concat_str = 'thgir left';
assert(isequal(your_fcn_name(str1, str2),concat_str))
ans =
'thgirleft'
|
8 | Fail |
str1 = ' leading space';
str2 = 'trailing space ';
concat_str = 'ecaps gnidael trailing space ';
assert(isequal(your_fcn_name(str1, str2),concat_str))
ans =
'ecaps gnidael trailing space '
|
9 | Fail |
str1 = '123';
str2 = '456';
concat_str = '321 456';
assert(isequal(your_fcn_name(str1, str2),concat_str))
ans =
'321456'
|
Back to basics 3 - Temp Directory
277 Solvers
Number of odd and even elements within matrix
100 Solvers
291 Solvers
Matrix of almost all zeros, except for main diagonal
124 Solvers
170 Solvers