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))
i =
5
|
2 | Pass |
%%
x = 'rama';
y_correct = 'a';
assert(isequal(frequent_character(x),y_correct))
i =
1
|
2197 Solvers
464 Solvers
559 Solvers
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
297 Solvers
292 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!