kotlin 打印堆栈
A palindrome number is a number that remains the same when its digits are reversed. Example: 16461.
回文数是指数字相反时保持不变的数字。 例如:16461。
Given a range from start to end, we have to check and print all palindromes numbers between start and end (includes start and end).
给定从开始到结束的范围,我们必须检查并打印开始和结束之间的所有回文数(包括start和end )。
Example:
例:
Input:
start = 1
end = 100
Output:
[1, 2, 3, 4, 5, 6, 7, 8, 9, 11,
22, 33, 44, 55, 66, 77, 88, 99]