CodingReported in a candidate post, Sep 2019
Max Candies Bought Using Palindromes Within Range and Budget
Filed under Larsen & Toubro
The question
Given a range of numbers (m, n) and an amount of money k, find the maximum number of palindromic candies a kid can buy such that the difference between the maximum and minimum price of the chosen candies is less than or equal to k.
No write-up yet. Related questions below have one.
Related Larsen & Toubro questions
Collected from public candidate posts and coding forums. Updated Nov 2026.