This problem is tricky! Better add more test cases and rescore. E.g., 'aaa bb'
Test Status Code Input and Output
inStr = 'ours is not to reason why';
outStr_correct = 'ours not reason why';
'ours not reason why'
inStr = 'To be or not to be That is the question';
outStr_correct = 'not That the question';
'not That the question'
inStr = ' He is a dirty so and so';
outStr_correct = 'dirty and';
'dirty and '
inStr = 'oh me oh my';
outStr_correct = '';
0×0 empty char array
what is wrong withthe assertion here?
Not sure, why this fails, passes on my local MATLAB (version 126.96.36.1992 (R2014a))
this won't work correctly for ' aaa '
This won't always work.
Renaming a field in a structure array
Indexed Probability Table
middleAsColumn: Return all but first and last element as a column vector
Replace Vector Elements
Number of digits in an integer
Remove the polynomials that have positive real elements of their roots.
Make the vector [1 2 3 4 5 6 7 8 9 10]
Return the largest number that is adjacent to a zero
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office