This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = 'purusa';
y_correct = 'u';
assert(isequal(frequent_character(x),y_correct))
|
2 | Pass |
%%
x = 'rama';
y_correct = 'a';
assert(isequal(frequent_character(x),y_correct))
|
5704 Solvers
1882 Solvers
middleAsColumn: Return all but first and last element as a column vector
387 Solvers
MATCH THE STRINGS (2 CHAR) very easy
250 Solvers
Who has power to do everything in this world?
318 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!