4. ABB INDIA Hiring | Off-Campus OA (2025) | Count Symmetric Integers
Question · Posted Jun 2026
Q1: Count Symmetric Integers Problem Statement Given two integers low and high, return the number of symmetric integers in the range [low, high]. A symmetric integer has: An even number of digits. Equal sum of the first half and second half of its digits. Example Input low = 1 high = 100 Output 9 Constraints 1 <= low <= high <= 10^4
The full answer & interview discussion are available to premium members.
Log in Create a free account