摘要: Given an integer n, find the closest integer (not including itself), which is a palindrome. The 'closest' is defined as absolute difference minimized 阅读全文
posted @ 2019-04-22 22:32 Veritas_des_Liberty 阅读(275) 评论(0) 推荐(0) 编辑
摘要: Given a positive 32-bit integer n, you need to find the smallest 32-bit integer which has exactly the same digits existing in the integer n and is gre 阅读全文
posted @ 2019-04-22 21:37 Veritas_des_Liberty 阅读(272) 评论(0) 推荐(0) 编辑