- For a Range of 0 - 500 numbers, find all the numbers that satisfy both the below conditions
- The number should have duplicate digits
- The sum of the digits should be less than or equal to 5
- Example:
- 22 -> The number has repeating 2's and the sum of the digits -> 2+2=4 is less than 5
- 131 -> The number has repeating 1's and the sum of the digits -> 1+3+1=5 is equal to 5