🔔 Subscribe to our channel for more solution updates! 🔔
Don't forget to like 👍, share 📲 with your friends
/ codingchakida
📌Telegram :
t.me/+wWGfGTOG...
Question:
Given N = 734 your function should return 743. The sum of the igits of 734 and 743 are equal 7 + 3 + 4 = 7 + 4 + 3 = 14 No othe teger between 735 and 742 adds up to 14.
Given N = 1990 your function should return 2089. The sum of e digits of both numbers is equal to 19 and there is no other eger between them with the same sum of digits.
Given N = 1000 your function should return 10000. The sum digits of both numbers is equal to 1 and there is no other eger between them with the same sum of digits.
30 сен 2024