Find the Closest Palindrome (Greater-Only Variant)
CodingPhoneSoftware EngineerReported Sep, 2026
Company question banks are included with the Insider plan.
Given a decimal string n, return the smallest palindrome strictly greater than its numeric value. Only greater numbers are candidates, even if a smaller palindrome is closer. If no greater...