Cody

Problem 44004. Get chain of consecutive characters

Solution 1145258

Submitted on 24 Mar 2017 by Isaac Abraham
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
first='a'; last='f'; assert(isequal(get_char_list(first,last),'abcdef'))

2   Pass
first='x'; last='t'; assert(isequal(get_char_list(first,last),'xwvut'))

3   Pass
first='p'; last='p'; assert(isequal(get_char_list(first,last),'p'))

Suggested Problems

Community Treasure Hunt

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

Start Hunting!