Next smallest palindrome larger than a number
Filed under Razorpay
The question
Given a number, find the smallest palindrome greater than it. The candidate explained brute force then an optimized approach, ran the code on sample tests and stated the time complexity.
No write-up yet. Related questions below have one.
Related Razorpay questions
Collected from public candidate posts and coding forums. Updated Nov 2026.