Find the number of numbers who have at least one digit in common
Answers
Answered by
3
♓Ur answer ♓
⤵⤵⤵ ⤵⤵
▶Number of pairs that share at least one digit. You are given n numbers and you have to find the number of pairs such that at least one digit is common in between them. My Attempt :
▶I took a structure which stores the number in decimal, the number in form of its digits in array and number of digits in that number.
# Be Brainly
⤵⤵⤵ ⤵⤵
▶Number of pairs that share at least one digit. You are given n numbers and you have to find the number of pairs such that at least one digit is common in between them. My Attempt :
▶I took a structure which stores the number in decimal, the number in form of its digits in array and number of digits in that number.
# Be Brainly
Similar questions