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