← 返回 google 的题目列表Largest Group of Same Digit Integers
类型:online_judge
Given an array of integers, each element is a two-digit integer (10-99). Numbers that contain the same digits can form a group. Find the size of the largest group.
Input:
An array of integers where each element is a two-digit number.
Output:
An integer representing the size of the largest group.
Example:
Input: [12, 34, 23, 32, 45, 54] Output: 4
Example
Input
[12, 34, 23, 32, 45, 54]