Cody

Solution 2174790

Submitted on 25 Mar 2020 by Nathan Rhodes
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
a = 124; b = 545; assert(isequal(find_palindrome(a),b))

x = 421 z = 545

2   Pass
a = 150; b = 303; assert(isequal(find_palindrome(a),b))

x = 51 z = 201 x = 102 z = 303

3   Pass
a = 291; b = 6996; assert(isequal(find_palindrome(a),b))

x = 192 z = 483 x = 384 z = 867 x = 768 z = 1635 x = 5361 z = 6996

4   Pass
a = 178; b = 15851; assert(isequal(find_palindrome(a),b))

x = 871 z = 1049 x = 9401 z = 10450 x = 5401 z = 15851

Suggested Problems

More from this Author95