Count Largest Group
You are given an integer n.
Each number from 1 to n is grouped according to the sum of its digits.
Return the number of groups that have the largest size.
LeetCode Problem - 1399
class Solution {
public int countLargestGroup(int n) {
// ...
perfinsights.hashnode.dev2 min read