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))
X =
64 69 66 69 67 49
r =
1 1 1 1 2
c =
49 64 66 67 69
y =
u
|
2 | Pass |
x = 'rama';
y_correct = 'a';
assert(isequal(frequent_character(x),y_correct))
X =
66 49 61 49
r =
2 1 1
c =
49 61 66
y =
a
|
Find the alphabetic word product
2322 Solvers
2814 Solvers
274 Solvers
Replace multiples of 5 with NaN
358 Solvers
485 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!