Cody

Problem 877. What is Title of Cody Challenge 42?

Solution 1831891

Submitted on 30 May 2019 by William
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
n = 1; Title_correct = 'Times 2 - START HERE'; assert(strcmp(Cody_Title(n),Title_correct))

2   Pass
n = 2; Title_correct = 'Make the vector [1 2 3 4 5 6 7 8 9 10]'; assert(strcmp(Cody_Title(n),Title_correct))

3   Pass
n = 110; Title_correct = 'Make an N-dimensional Multiplication Table'; % This problem hurts my head assert(strcmp(Cody_Title(n),Title_correct))

4   Pass
n = 808; Title_correct = 'Hamming Weight - Fast'; assert(strcmp(Cody_Title(n),Title_correct))

Suggested Problems

More from this Author241

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!