← 返回 google 的题目列表Maximum Related Numbers
类型:online_judge
You are given a list of two-digit numbers. Two numbers are considered related if they share at least one digit (for example, 23 and 35 both contain the digit 3). The task is to determine the maximum number of elements in the list that share at least one common digit.
Example
Input
23 35 91 12 13 34