Cody

Solution 2099308

Submitted on 20 Jan 2020 by Yujie Xu
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))

b = '545' a = 545 b = 545

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

b = '201' a = 201 b = '303' a = 303 b = 303

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

b = '483' a = 483 b = '867' a = 867 b = '1635' a = 1635 b = '6996' a = 6996 b = 6996

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

b = '1049' a = 1049 b = '10450' a = 10450 b = '15851' a = 15851 b = 15851