Cody

Solution 1124601

Submitted on 16 Feb 2017 by Jihye Sofia Seo
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

Test Suite

Test Status Code Input and Output
1   Pass
x = 'purusa'; y_correct = 'u'; assert(isequal(frequent_character(x),y_correct))

x = 15 20 17 20 18 0 ct = 1 1 1 1 2 vl = 0 15 17 18 20 v = 2 l = 5 y = u

2   Pass
x = 'rama'; y_correct = 'a'; assert(isequal(frequent_character(x),y_correct))

x = 17 0 12 0 ct = 2 1 1 vl = 0 12 17 v = 2 l = 1 y = a

Suggested Problems

More from this Author9